Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
starters pass over command line args to node
- Loading branch information
1 parent
0383de8
commit 03e75a4
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
set CYGWIN=nodosfilewarning | ||
path %PATH%;%CD%\redist\ffmpeg;%CD%\redist\node;%CD%\redist\sqlite;%PROGRAMFILES%\VideoLAN\VLC; | ||
node.exe server/src/server.js > error.txt | ||
node.exe server/src/server.js %* > error.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
DIR="$( cd "$( dirname "$0" )" && pwd )" | ||
PATH="$DIR/redist/sqlite/":"$DIR/redist/node/":"$DIR/redist/ffmpeg/":/Applications/VLC.app/Contents/MacOS:$PATH | ||
cd "$DIR" | ||
node "$DIR/server/src/server.js" > error.txt | ||
node "$DIR/server/src/server.js" $* > error.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
node server/src/server.js > error.txt | ||
node server/src/server.js $* > error.txt | ||
|