Of course, the multiple argument form of system isn't all that portable, either. On Windows, system(@ARGS) is system("@ARGS"), so you need to take proper care of quoting. On more unixish operating systems, you cannot quote the commands if you're going to use system(LIST), so some more care than in the OP is needed.
Of course it would be nice if Win32 system() knew when to add double quotes around strings...
In reply to Re^2: Construct command portable way
by Corion
in thread Construct command portable way
by avinash_d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |