File utils/nbfake artifact 455975d5ec part of check-in 6f6c525ff5
#!/bin/bash # ssh localhost "nohup $* > nbfake.log 2> nbfake.err < /dev/null" # Can't always trust $PWD CURRWD=`pwd` if [[ $TARGETHOST == "" ]]; then sh -c "cd $CURRWD;export DISPLAY=$DISPLAY; export PATH=$PATH; nohup $* > NBFAKE-`date +%GWW%V.%u_%T` 2>&1 &" else ssh -n -f $TARGETHOST "sh -c \"cd $CURRWD;export DISPLAY=$DISPLAY; export PATH=$PATH; nohup $* > NBFAKE-`date +%GWW%V.%u_%T` 2>&1 &\"" fi