[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] running 2 Perl processes at once [*on Unix]





Chris Nandor wrote:
> 
> At 00.03 -0500 1999.02.02, Paul Gutches wrote:
> >I'm running Matt Wright's WWWBoard on a website and would like to add a
> >private feature that notifies the original poster of a response based on
> >a restricted followup user name.  I can see all the variables I have to
> >play with... but I think what's giving me trouble is determining how to
> >accomplish both the wwwboard process and the mail process in parallel.
> >I've tried working with fork( )... and waitpid( ) ...but it ain't
> >happening.
> 
> Of course not.  :)  Those are clearly documented as unimplemented.  See the
> MacPerl book and macperlport (on my web site and on CPAN).  And running
> "fork" gives you:
> 
> # The Unsupported function fork function is unimplemented.
> 
> And trying open(FORK, "|-") is similarly bad:
> 
> # Implicit fork() on a Mac? No forking chance.

Ahhh... now I see I wasn't clear.  The non-Mac world must have me so
conditioned that I don't normally associate Macs with servers.  I slap
myself.   This script would run on a Unix server... which I'm sure
changes alot of things.  I apologize if that caused you to misinterpret
what I was asking.   If you're not too dismayed, perhaps you'd be
willing to send over some adjusted advice :)  Thanks for all your help.

-- 
 
 Paul S Gutches
 Multimedia 1.0
 mailto:webmaster@multimedia1.com
 http://www.multimedia1.com
 
 "Where The GAMES Are!"

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch