Sign in Join

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

Mailing lists / fpc-pascal / 2002-08

return

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

René Bastian

Hello,

in the linux unit :
a call of an external program through one of the exec.. commands "does not return" ;
but i would return ...

please, give me a tip ..

René Bastian http://www.musiques-rb.org : Musique en Python et Pascal
Michael Van Canneyt
to René Bastian
Show quoted text 6 lines
Hello, in the linux unit : a call of an external program through one of the exec.. commands "does not return" ; but i would return ...

1. First use fork(), then in the child process, use exec().
2. Use the shell() command. This will do all needed steps for you.

Michael.