|
Not 100% sure what you're asking here...but if It's what I think it is....
Run script 1 like this......
./Script1 Hello
In Script 1 - you have
nohup ./Script2 $1
Then script 2 is the same.
Why you would want 2 scripts here I'm not sure (but thismay just be for the example?)
If this really is your script - then you could just use
nohup ./Script2 Hello
Because all you are doing is running script2 in nohup and passing it the same variable. Up to you! (Not sure what you are actually doing with the variable though?)
__________________
Pete
|