Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-08

exec and wait

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jilani Khaldi

Hi All,

How to run an external program (prog.exe) from a FP program and wait until it finishes execution? Thanks!

jilani

Reply by email

Alan Mead
to Marco van de Voort
--- Marco van de Voort wrote 7 lines
[ Charset 0 unsupported, skipping... ] (hmm) Anyway, don't use unit DOS, it is legacy, but sysutils.executeprocess

My win32 docs, installed as part of 1.9.4 and stamped '1.9' don't seem to show this function. What are the calling conventions?

Does anyone know how much data I can receive on the win32 command line? I recall it was pretty limited under DOS.

-Alan

-Alan

Reply by email