Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to use the exec function. I understand that in the exec function, exec LIST means the exec command is followed by the process to start. If my process has more than one arguments, should I separate each argument with a comma like below?
If I type in my command line: myProcess argument1 argument2 argument3 Then to do the same thing as an exec will be: exec "myProcess.exe", "argument1", "argument2", "argument3";
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Exec function arguments
by borisz (Canon) on Jan 07, 2005 at 00:56 UTC | |
|
Re: Exec function arguments
by revdiablo (Prior) on Jan 07, 2005 at 02:03 UTC |