Extract column 2 on CYGWIN

This commit is contained in:
Tuncer Ayaz 2010-12-10 17:17:46 +01:00
parent a6063692b2
commit 90c5da8033

View file

@ -79,7 +79,7 @@ case "$1" in
;;
CYGWIN*)
# UID PID PPID TTY STIME COMMAND
PID=`ps -efW|grep "$RUNNER_BASE_DIR/.*/[b]eam"|cut -d' ' -f1`
PID=`ps -efW|grep "$RUNNER_BASE_DIR/.*/[b]eam"|cut -d' ' -f2`
;;
esac
$NODETOOL stop