Bizarre SvTYPE after fork on W2K Server

  • Thread starter Ganchrow Harris Peck
  • Start date
G

Ganchrow Harris Peck

Running ActivePerl 5.8.0 build 806 on Winows2K Server SP4.

A particular program I run tries once per day to fork off a process. It's
always worked before but has now recently stopped.

The syntax of the perl code is:
exec($CMD_vb) unless fork;

The child process never starts and the parent immediately terminates.

The error I get is Bizarre SvTYPE [53] at script.pl line ###.

Any idea what could possibly have suddenly caused this to occur?


--
To e-mail me directly, please change "nospam" in my e-mail address to
"yahoo".

Thanks,
Ganchrow
 
G

Ganchrow Harris Peck

Ganchrow Harris Peck said:
Running ActivePerl 5.8.0 build 806 on Winows2K Server SP4.

A particular program I run tries once per day to fork off a process. It's
always worked before but has now recently stopped.

The syntax of the perl code is:
exec($CMD_vb) unless fork;

The child process never starts and the parent immediately terminates.

The error I get is Bizarre SvTYPE [53] at script.pl line ###.

Any idea what could possibly have suddenly caused this to occur?

Interestingly enough (well interesting to me anyway) this Bizarre SvTYPE
error does not occur with the command:

system(1, $CMD);

which I thought did exactly the same thing as

exec($CMD) unless fork;


--
To e-mail me directly, please change "nospam" in my e-mail address to
"yahoo".

Thanks,
Ganchrow
 
G

Ganchrow Harris Peck

Ganchrow Harris Peck said:
Ganchrow Harris Peck said:
Running ActivePerl 5.8.0 build 806 on Winows2K Server SP4.

A particular program I run tries once per day to fork off a process. It's
always worked before but has now recently stopped.

The syntax of the perl code is:
exec($CMD_vb) unless fork;

The child process never starts and the parent immediately terminates.

The error I get is Bizarre SvTYPE [53] at script.pl line ###.

Any idea what could possibly have suddenly caused this to occur?

Interestingly enough (well interesting to me anyway) this Bizarre SvTYPE
error does not occur with the command:

system(1, $CMD);

which I thought did exactly the same thing as

exec($CMD) unless fork;


OK, how about this:

sub myfork { fork; }

When the myfork sub is called as
&myfork;

I get a windows error.

When it's called as:
&myfork();

No error.

Hmm ...


--
To e-mail me directly, please change "nospam" in my e-mail address to
"yahoo".

Thanks,
Ganchrow
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top