Bloggers Wanted
We're looking for people to help with the main blog. If you are consistent, knowledgeable and you're into it, please drop me a note.
|
|
|
|
|
jt_5353
Fresh Boarder
Posts: 13
|
|
hallo!
following problem:
I call the script with: 'script A B A' my problem: following parts should be executed: run X run X run Y run X
BUT following parts are executed: run X run X run X
if $1 is 'B' in the main while-loop, 'run X' will be executed, but 'run Y' won't!
this depends on the $command ($command is a script, that also executes a binary!)
so my question is: WHY??? - how to execute $command, so the script will return from 'run X' and continue with 'run Y'???
if $command is a 'nice' command, output is as expected! BUT if $command is a 'bad' command, I don't understand, why 'run Y' is never called!
thx for ANY hints!
|
|
The administrator has disabled public write access. |
gromit
Fresh Boarder
Posts: 8
|
|
$command is another shellscript (not written by me):
|
|
The administrator has disabled public write access. |
sweetfresa14
Fresh Boarder
Posts: 9
|
|
Your english is insufficiently clear. What you say makes no sense. Just show the two scripts and state the problem clearly. As it is, even your problem description is incomprehensible. Write in german if you prefer. To be specific 'why 'run Y' is never called' is incomprehenisble, since 'run' is not a command and the line 'run_binary' (the only other thing that has the word 'run' in) is called in the fragment you have shown.
|
|
The administrator has disabled public write access. |
|
|
|