summaryrefslogtreecommitdiff
path: root/client/startup.sh
blob: a9ee7569ca698801b847a857c0f53e8c4b2802ae (plain)
1
2
3
4
5
6
7
8
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