-----Original Message-----
From: Costa, Michael J. [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 7:42 PM
To: 'Steve Aaron'; '[EMAIL PROTECTED]'
Subject: RE: [Perl-unix-users] Spawning a process
Michael J.
Costa
Consolidated Edison of New York
IR - Network Systems
[EMAIL PROTECTED]
212.460.2994
-----Original Message-----
From: Steve Aaron [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 01:35 PM
To: 'Costa, Michael J.'; '[EMAIL PROTECTED]'
Subject: RE: [Perl-unix-users] Spawning a processTry,
If I have understood correctly, I think you want "fork", see perlfunc for documentation. That will fork off a child process while allowing the parent to carry on processing.Steve Aaron
-----Original Message-----
From: Costa, Michael J. [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 3:46 PM
To: '[EMAIL PROTECTED]'
Subject: [Perl-unix-users] Spawning a process
Good Morning All:
I am using perl on a Sun Solaris server to do data transfer with outside
companies. With one of the companies I exchange data with, the files must be
sent in a particular order. What I want to do is when the last file in the
chain is received on my server it will kick-off automated processing.The automated processing will begin encrypting the files and staging them to
be send to our trading partner. As processing is completed on one file, I
want the perl script that is running to kick off a successor job (which will
be the same perl script with different parms) to process the next file in
the chain. This process need not return to the script which called it. I do
however what the "spawning" script to run to completion.Did that make any sense?
I've tried system which will wait until the called process completes before
continuing. (Don't want that)I've tried exec which seems to put the calling process into limbo or end the
process? (Don't want that either)
Anybody got any ideas?
Thanks
Michael J. Costa
Consolidated Edison of New York
IR - Network Systems[EMAIL PROTECTED]
212.460.2994
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users