While I have not looked at it in some time, especially for what you seem to be asking, you may wish to take a look at the Expect module, which (in my limited understanding) I believe was written for just the situations you are inquiring about.
Update: I thought that last line was a signature, but if that is a line you're seeing as a result of your system call, why not use the mkdir command? Just a thought....
In reply to Re: Posing Question
by atcroft
in thread Posing Question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |