Shell Script

Hi

I have one doubt while calling a shell scripts from another shell script.

suppose i have two shell script abc.sh and xyz.sh
i call many instance of xyz.sh in abc.sh when i look at process id's using ps command i can see process ids for abc.sh command bur not a single process id of xyz.sh.

Is this the expected behavior of shells while invoking one from another.

Thanks
You shouldn't expect each call into another sheel script to be run as a different process. It all depends on how it's called and how that shell handles scripts.
Last edited on
Topic archived. No new replies allowed.