nohup and xargs?



Hello,

How to combine nohup and xargs together?

Conside I have a simple perl program, which take a string as input

E.g.

test.pl foo


I have a file contains all the input to be run, so I use xargs,

E.g

cat input.txt | xargs ... test.pl

It run well, but I want to run in background and not affected by ssh
exit,

I tried to use nohup,

E.g.

nohup cat input.txt | xargs ... test.pl

However, when I end the ssh, the program did not continue to run...

any idea?

Thanks.


.



Relevant Pages

  • Re: nohup and xargs?
    ... How to combine nohup and xargs together? ... I have a file contains all the input to be run, so I use xargs, ... However, when I end the ssh, the program did not continue to run... ... I believe nohup wants to see a simple command. ...
    (comp.os.linux.misc)
  • Re: nohup and xargs?
    ... How to combine nohup and xargs together? ... Conside I have a simple perl program, which take a string as input ... I have a file contains all the input to be run, so I use xargs, ... I believe nohup wants to see a simple command. ...
    (comp.os.linux.misc)
  • Re: nohup and xargs?
    ... How to combine nohup and xargs together? ... I have a file contains all the input to be run, so I use xargs, ... nohup cat input.txt | xargs ... ... However, when I end the ssh, the program did not continue to run... ...
    (comp.os.linux.misc)
  • Re: scp with xargs
    ... to scp files. ... message and thought we would use xargs to fix it; ... If it is the shell, no intermediate script can help there, you ... SSH allow key-based authentication. ...
    (comp.unix.programmer)