HP3000-L Archives

August 2001, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ted Ashton <[log in to unmask]>
Reply To:
Ted Ashton <[log in to unmask]>
Date:
Tue, 7 Aug 2001 18:17:12 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Thus it was written in the epistle of Mark Bixby,
> Ted Ashton wrote:
> >
> > First, the warning.  I have discovered that at least in some circumstances,
> > MPE::IMAGE does not play well with system().  I would appreciate it if
> > someone could confirm that the following (be sure to change the database
> > name and password) hangs on the system() call:
> >
> > use MPE::IMAGE qw(:all);
> > my $db = DbOpen('TEST.DATABASE','MYPASS',5);
> > print "Made it thus far . . .\n";
> > system('callci','showjob');
>
> The Perl system() function is going to have to fork a shell, and fork cannot
> handle open TurboIMAGE databases.

Bing!  I'd forgotten that.  Thanks!  Evidently it can't handle forking when
an IMAGE database *has been open*, as adding a DbClose() before the system()
call doesn't solve the problem.  Does that fit with what others understand
about the problem?

Ted
--
Ted Ashton ([log in to unmask]), Info Sys, Southern Adventist University
          ==========================================================
For the things of this world cannot be made known without a knowledge of
mathematics.
                                       -- Bacon, Roger
          ==========================================================
         Deep thought to be found at http://www.southern.edu/~ashted

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2