I have the following command: cd ../../game ^ electron src
that I need to run.
Which basically means step up two folders from our current directory then into the game folder and call electron on the src folder.
However it sees the electron src
command as part of the cd
command... and gives the error can't find the path specified
How can I break it up? so put the electron src
AFTER the cd
command.
This command gets executed inside a NodeJS application like:
exec('cd ../../game ^ electron src', function(...
As you can see I have tried the ^
to break it up but that doesn't seem to solve the problem... I have tried the same code in a Windows command prompt and it happens there so it's not because of the way NodeJS executes it.
C:/folder/folder/game electron src