Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Synchronizing Multiple System Processes

by c4onastick (Friar)
on Apr 13, 2007 at 04:59 UTC ( #609825=note: print w/replies, xml ) Need Help??


in reply to Synchronizing Multiple System Processes

You could try combining the two (assuming your on a *nix system) into something like this:
#!/usr/bin/perl system("perl script1.pl input.txt output.txt && perl script2.pl output +.txt finalout.txt");
That way you can let the system know that there's two scripts coming so you don't have to worry about it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://609825]
help
Chatterbox?
[dazz]: Hi I have grabbed an image from an IP camera with Image::Grab. I then want to pass that image object to a subroutine where I do a read-only test on the image with Image:Magick.
[dazz]: How do I pass an image object to a subroutine and then apply a Image::Magick a read-only method to the image object???
[dazz]: Also, I want to use Image::Magick to annotate and composite (not in a sub). How do I take a Image::Grab object and apply Image::Magick write methods to it??

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-03-27 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (317 votes). Check out past polls.