Edit report at https://bugs.php.net/bug.php?id=60181&edit=1
ID: 60181
Comment by: david at grudl dot com
Reported by: php at aldomx dot com
Summary: proc_open fails to read quoted whitespaced
directories in Windows
Status: Assigned
Type: Bug
Package: Program Execution
Operating System: Windows 7
PHP Version: 5.3.8
Assigned To: mattficken
Block user comment: N
Private report: N
New Comment:
Workaround: use array('bypass_shell' => TRUE) as last argument.
Previous Comments:
------------------------------------------------------------------------
[2011-11-01 09:45:05] pajoye@php.net
Matt, please take a look to see what's going wrong here
------------------------------------------------------------------------
[2011-10-31 23:37:17] php at aldomx dot com
As additional information, using the same string with exec(), system() or passthru() works fine,
proc_open() is the only one with this issue.
------------------------------------------------------------------------
[2011-10-31 23:13:03] php at aldomx dot com
Yes, same result
------------------------------------------------------------------------
[2011-10-31 23:08:37] pajoye@php.net
Have you tries to use escape shell args?
------------------------------------------------------------------------
[2011-10-31 22:51:41] php at aldomx dot com
Sorry, I forgot to specify "when you use 2 or more quoted arguments" (in my example git
directory in program files and working directory)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60181--
Edit this bug report at https://bugs.php.net/bug.php?id=60181&edit=1