From 6fb4351cafd1abdcc073580f29303f3a6df002f7 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Wed, 1 Jan 2020 10:57:19 +0100 Subject: Split up client/server in separate npm packages (1.0.2) --- client/startup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 client/startup.sh (limited to 'client/startup.sh') diff --git a/client/startup.sh b/client/startup.sh new file mode 100755 index 0000000..a9ee756 --- /dev/null +++ b/client/startup.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +cd "$(dirname "$0")" + +echo "Enter username \n password \n" +IFS="" read username +IFS="" read -s password +printf "%s\n%s\n" "$username" "$password" | nohup ./client.js >client.out 2>&1 & +echo $! +disown -- cgit v1.2.3-54-g00ecf