michal-kocarek/PhpOnWindows

Doesn't work without "sudo" on Windows 10 1803

denistrator opened this issue · 0 comments

Just workaround for the ones who's facing the issues like me.
Need to change php-bridge.php::150 line to
$linuxCmd = ($envValues ? $envValues . ' ' : '') . 'echo 1111 | sudo -S php ' . implode(' ', $arguments);$linuxCmd = ($envValues ? $envValues . ' ' : '') . 'echo YOUR_SU_PASSWORD sudo -S php ' . implode(' ', $arguments);