updated start scripts

This commit is contained in:
2022-01-27 20:43:51 -06:00
parent f6adafe735
commit 4f696e8b21
5 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
#change to ccurrent directory
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"

View File

@@ -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