0

I had a problem on PHP I used proc_open to open the exe file.

but I received error.

Error: 'C:\Program' is not recognized as an internal or external command, operable program or batch file.

Here's the code to call the process.

CODE:

$process = proc_open('"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" update "c:\xampp2\htdocs\test_tills"',
                 $descriptorspec,
                 $pipes);
Sanu0786
  • 571
  • 10
  • 15
Myco Claro
  • 475
  • 2
  • 14
  • There is a problem with quotes that causes this particular issue. However, you should not be using TortoieseProc.exe at all. You should be using `svn.exe`. Read this answer: https://stackoverflow.com/a/44779536/761095 – bahrep Nov 16 '18 at 11:51
  • that answer was 9 years ago. and now they are using TortoiseProc.exe – Myco Claro Nov 20 '18 at 07:21

0 Answers0