Subject: | |
From: | |
Reply To: | |
Date: | Tue, 7 Aug 2001 18:17:12 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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 *
|
|
|