[PHP-DEV] Bug #299: Supplying quoted arguments via system() or exec() From: jpronk <email protected>
Date: 04/22/98

From: jpronk <email protected>
Operating system: Solaris
PHP version: 3.0 Release Candidate 3
PHP Bug Type: Other
Bug description:

I can't seem to get quoted arguments to commands to execute and
return output with the system() or exec() commands.

Eg.

system("script -name \"The Name Is\"",$returncode)

always returns a return a code of 1 and no output. I have tried using
combinations of single and double quotes, &quot, %20 for the
spaces. But no luck.

Not sure if this is a bug or not, but the call in the unix
shell works just fine, but not using system() in php?