Bug #60181 [Asn->Opn]: proc_open fails to read quoted whitespaced directories in Windows

From: Date: Tue, 24 Oct 2017 06:43:15 +0000
Subject: Bug #60181 [Asn->Opn]: proc_open fails to read quoted whitespaced directories in Windows
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212014@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60181&edit=1

 ID:                 60181
 Updated by:         kalle@php.net
 Reported by:        php at aldomx dot com
 Summary:            proc_open fails to read quoted whitespaced
                     directories in Windows
-Status:             Assigned
+Status:             Open
 Type:               Bug
 Package:            Program Execution
 Operating System:   Windows 7
 PHP Version:        5.3.8
-Assigned To:        mattficken
+Assigned To:        
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2014-05-24 19:01:22] martin at Liquidsculpture dot com

I found the workaround that works: https://bugs.php.net/bug.php?id=49139 Put the
entire command string in double quotes. I'm dropping this here to help the next person looking
for the answer.

------------------------------------------------------------------------
[2014-05-24 17:20:54] martin at Liquidsculpture dot com

Sorry, I should add that I am using PHP 5.4.27 (cli) - still a problem.

------------------------------------------------------------------------
[2014-05-24 17:15:31] martin at Liquidsculpture dot com

I tried the workaround of adding "array('bypass_shell' => TRUE)" as a
parameter. While it eliminates the error message, the command still does not execute.

This still looks like a bug to me.

------------------------------------------------------------------------
[2014-03-05 21:11:16] david at grudl dot com

Workaround: use array('bypass_shell' => TRUE) as last argument.

------------------------------------------------------------------------
[2011-11-01 09:45:05] pajoye@php.net

Matt, please take a look to see what's going wrong here

------------------------------------------------------------------------


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


Thread (13 messages)

« previous php.bugs (#212014) next »