linux - Call 2 shell from a shell father and not exit if a shell child contain an "exit command" -


hi have 3 shell script:

first.sh

#! /bin/ksh  echo "prova" . ./second.sh echo "ho lanciato il secondo" . ./third.sh echo "ho lanciato il terzo" 

second.sh is:

#! /bin/ksh echo "sono nel secondo script" exit 9 

i can't edit second.sh. how ignore exit 9 , continue third.sh?

thanks

don't use . ./second.sh; instead, run ./second.sh.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -