[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ssh+background process in script



hari krishna angadi wrote:
$ vim myscript.sh
./Pgm &

$ /usr/bin/ssh -x -n -o BatchMode=yes 127.0.0.1 cd /home/tom/Test_Dir/ '&&' ./myscript.sh

If i run this command hello world is not printed.
If i run this same in FC2 hello world in printed.

*Whether there is solution to this or it is a bug of FC8?*

The obvious solution would be to not run "./Pgm" in the background. Why are you doing that?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]