3
{ Program to demonstrate the Execve function. }
5
Uses BaseUnix, strings;
7
Const Arg0 : PChar = '/bin/ls';
14
GetMem (PP,3*SizeOf(Pchar));
18
{ Execute '/bin/ls -l', with current environment }
19
{ Envp is defined in system.inc }
20
fpExecVe ('/bin/ls',pp,envp);