updated start scripts
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
#change to ccurrent directory
|
||||
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
|
||||
|
||||
@@ -32,7 +32,7 @@ do
|
||||
echo $num > log/number
|
||||
|
||||
#run
|
||||
npm start >> log/$num.out 2> log/$num.err
|
||||
npm start 2> log/$num.err | tee log/$num.out
|
||||
|
||||
#give chance to close program
|
||||
sleep 5
|
||||
|
||||
Reference in New Issue
Block a user