in reply to System() question

Hi ibeneedinghelp,

I think that your question is unfortunately a little vague.  Rather than risk guessing exactly what you're trying to do, I'd like to recommend that you provide some example code, which will give me (and other monks) the opportunity to try running it, and see what it is that's not happening the way you'd expect or hope.

A good tip:  if you have a LOT of code, try whittling it down so that it exhibits the behavior you're having questions on.  This will potentially yield an extra benefit, in that you may discover the problem yourself.

But even if it doesn't, the shorter a script (or scripts) that you can provide, the more eager many of the seasoned veterans here will be to "dive in" and point you towards the path of enlightenment.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

Replies are listed 'Best First'.
Re^2: System() question
by ibeneedinghelp (Initiate) on Jun 13, 2006 at 17:07 UTC
    Thanks for the tip liverpole... I didn't realize how vague my question actually was until I had posted it. Looks like fork and system(... &) solved the problem. I still had to figure out how to check to see if the output was done, included the code for how I did that below. Thanks again.