Solved

executeandwait function for FPC

Posted on 2008-10-23
2
507 Views
Last Modified: 2013-12-13
Does anybody know if there exists an 'executeandwait' function written for FreePascalCompiler? For Delphi I found several of these functions on the internet, for FPC none.

It is needed to execute another program in batch mode while running my FPC-written program.

Thanks in advance!
0
Comment
Question by:EXF_Pilatus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 28

Accepted Solution

by:
2266180 earned 500 total points
ID: 22785919
here is the tutorial on it: http://wiki.lazarus.freepascal.org/Executing_External_Programs (you will use the TProcess approach and use poWaitOnExit )
0
 
LVL 28

Expert Comment

by:2266180
ID: 22786538
Why a B grade? see grading tips here: http://www.experts-exchange.com/help.jsp#hi403
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This article was originally published on Monitis Blog, you can check it here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sourc…
This video shows how use content aware, what it’s used for, and when to use it over other tools.
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question