Cannot spawn process: npm start

Andre Pany via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 4 09:55:22 PDT 2016


On Tuesday, 4 October 2016 at 13:52:23 UTC, FreeSlave wrote:
> On Tuesday, 4 October 2016 at 12:58:19 UTC, Andre Pany wrote:
>> Hi,
>>
>> I need to call a Node application. node and npm are in windows 
>> path variable.
>> I have following folder structure:
>> ./app.d
>> ./js/helloworld.js
>> ./js/package.json
>>
>> [...]
>
> npm is .cmd file on Windows. Maybe this is issue. Looks like 
> cmd.exe knows how to deal with them, while CreateProcess does 
> not.

I just tried the D coding on Ubuntu Sub System for windows.
Spawn process is working fine on linux, only on windows it 
doesn't work.
I will create a bug report.

Kind regards
André


More information about the Digitalmars-d-learn mailing list