try using "screen"
create a screen session before run a command
then just detach the screen before logout
when you re-login, just re-attach the screen you've created. then you
can stop the process or do something else. log out ( not detach the
screen ) when you're finished.