in reply to avoiding shell escapes with exec()
Update: and as for passing your args to exec, it depends on how you would normally run tetheral on the command line. If you would normall run:
Then you would pass to system or exec:command arg1 arg2 "Quoted stuff as arg3"
system('command', 'arg1', 'arg2', 'Quoted stuff as arg3');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: avoiding shell escapes with exec()
by chunter (Initiate) on Jun 27, 2007 at 18:44 UTC | |
by runrig (Abbot) on Jun 27, 2007 at 20:05 UTC |