Running Three Shells with a Shell - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Running Three Shells with a Shell

wtfx0rzwtfx0rz Posts: 1Member
Okay, so I had these three bat files I converted to shells so I could run this on Linux, which I'm operating through PuTTy.

I made another shell file which would run the other three: 1.sh, 2.sh, and 3.sh, with a five second pause between each. It looks like this:
[CODE]./1.sh
sleep 5
./2.sh
sleep 5
./3.sh[/CODE]

My problem is that 2.sh is supposed to connect to 1.sh, but the shell won't continue to run 2.sh until 1.sh is responding. I hope you understand what I'm saying here. Any help appreciated.
Sign In or Register to comment.