Setting the variable is all the child process does.
Yes, you are setting one of the child's variable, but that's not the right variable. You want to set one of the parent's variable. I showed one way of doing this.
I don't quite understand what youre saying there.
What's unclear?
In reply to Re^3: Run system command in same context of the script itself
by ikegami
in thread Run system command in same context of the script itself
by igorle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |