|
From: Edwin W. <ed...@at...> - 2007-02-08 00:58:16
|
> I am currently trying to run the wrapper in OS X. > > It starts my application fine, but when I try to run the "status" > or "stop" commands, wrapper can't find the process and removes the > pid file as a stale file even though the process is clearly still > running. > > Experimenting further, I found that if I changed the line in the > getPid() command from: > > pidtest=`$PSEXE -p $pid -o args | grep > "$WRAPPER_CMD" | tail -1` > > to > pidtest=`$PSEXE -p $pid | grep $WRAPPER_CMD | tail -1` > > all seems to work fine. > > Any ideas? > > Thanks. |