Due care must be spent on sanitizing and escaping the arguments if they are not hard coded.
$file_name = 'file name'; system("program $file_name &"); # Oops!
Without due care, the code may not work, or worse, it could be vulnerable to injection attacks.
In reply to Re^3: Asynchronous Program Spawning
by ikegami
in thread Asynchronous Program Spawning
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |