Another issue I see is that you should close STDIN to the bash process after sending the command:
Then bash should exit on its own.print IN "$cmd\n"; close(IN);
In reply to Re: getting a list of your bash aliases
by pc88mxer
in thread getting a list of your bash aliases
by zentara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |