Solved

executeandwait function for FPC

Posted on 2008-10-23
2
501 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
  • 2
2 Comments
 
LVL 28

Accepted Solution

by:
ciuly 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:ciuly
ID: 22786538
Why a B grade? see grading tips here: http://www.experts-exchange.com/help.jsp#hi403
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Let’s list some of the technologies that enable smooth teleworking. 
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now