LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   calling another script to be run. (https://www.linuxquestions.org/questions/programming-9/calling-another-script-to-be-run-184749/)

sonesay 05-23-2004 04:59 AM

calling another script to be run.
 
I tried searching for it on this site but no luck. I'm sure alot of you guys know how to call another script in side the current script.

myscript
--------------------------------------------
blah
blaahj
blah
call myscript2****
continue
exit
---------------

please help me

jim mcnamara 05-23-2004 06:07 AM

Just put the full file specification for the other script like this
Code:

/path/to/myotherscript

sonesay 05-23-2004 06:08 AM

wow thats so simple. I cant beleive i didnt think of that. thanks mate.


All times are GMT -5. The time now is 07:45 PM.