Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 514
  • Last Modified:

executeandwait function for FPC

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
EXF_Pilatus
Asked:
EXF_Pilatus
  • 2
1 Solution
 
2266180Commented:
here is the tutorial on it: http://wiki.lazarus.freepascal.org/Executing_External_Programs (you will use the TProcess approach and use poWaitOnExit )
0
 
2266180Commented:
Why a B grade? see grading tips here: http://www.experts-exchange.com/help.jsp#hi403
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now