in reply to Re:^2 Slightly OT - automating nohup bg jobs...
in thread Slightly OT - automating nohup bg jobs...

I'm not sure that nohup is sufficient though to completely close stdout and stderr. I think the shell you spawn on the remote machine is itself holding a copy of these open.

FWIW, I use zsh for my main shell, but almost always write scripts that are sh/ksh compatible since these are installed on almost every unix-like machine (and much more consistent than using csh).

bluto

  • Comment on Re: Re:^2 Slightly OT - automating nohup bg jobs...

Replies are listed 'Best First'.
Re: ^3 Slightly OT - automating nohup bg jobs...
by cLive ;-) (Prior) on Apr 20, 2004 at 00:20 UTC
      My solution looks suspiciosly similar to the ssh FAQ in your updated node, and my answers almost never look like FAQ answers. :-) Though I don't remember copying it from there, my memory isn't what it used to be...

      bluto