fnobi / php-express

enable express server to exec php.
36 stars 15 forks source link

export not recognized? #3

Open androyd09 opened 9 years ago

androyd09 commented 9 years ago

I can get my server running, I even copied the basic app.js from the readme, and it still says "Error: Command failed: 'export' is not recognized as an internal or external command, operable program or batch file".

I'm on windows.

Am I doing something wrong? Do I have to set an env variable?

oscar-g commented 8 years ago

This module doesn't work on windows because export is not a command in cmd.exe :disappointed:

ZiggyQubert commented 8 years ago

Actualy the export just needs to be moved from a comand line export to the env property of child_process, I made the change localy and got it working on windows