#!/bin/sh # startW.sh : Windows edition with the review stand-in powershell T=$HOME/.local/share/sm-dev/tmp/review-web; P="$HOME/Desktop/Server Monitor(web-window)" PATH="$T/fake:$PATH" FAKE_CTL="$1.ctl" FAKE_LOG="$1.log" XDG_CONFIG_HOME="$1" APPDATA="$1" PORT="$2" nohup node "$P/server.js" > "$1.out" 2> "$1.err" & echo $! > "$1.pid"