Re: Win32::Process Kill Process in Windows ME



Hello Rob,

Thank you for your answer.

"Sisyphus" <sisyphus1@xxxxxxxxxxxxxxxxx> wrote in message news:<425ce4a5$0$29868$afc38c87@xxxxxxxxxxxxxxxxxxxx>...
> What actually happens ? Does the script hang .... or exit silently .... or
> .... ?
> Do you get any warnings or error messages ?

No, I get no error messages. The script doesn't hang, it exists like
the way on XP.

> use warnings;

no warnings

> Not sure. Maybe (untested):
>
> my $exitcode;
> my $pid = $ProcessObj->GetProcessID();
> Win32::Process::KillProcess($pid, $exitcode);
> # $exitcode is set to the exitcode of the process.

it's the same. What's about the exitcode? I have used 1 and 9, but
there is no difference.

Cheers,
Stefan
.



Relevant Pages

  • Re: Is this legal Fortran 77?
    ... >You must have turned on the option to treat warnings as errors. ... I do note that even with the error messages, MS Fortran 5.0 WILL INDEED ... DOES produce the EXE and said EXE works the same. ...
    (comp.lang.fortran)
  • Re: Eval Errors
    ... >> longer printing the error messages yet the strange messages remain. ... >> That looks like a bug to me. ... > IIRC it was determined then that 'eval' focus was to allow testing of ... What warnings a piece of code ...
    (perl.beginners)
  • Re: Warning: constant expression violates subrange bounds
    ... and I get no warnings. ... It's that CONST Array that rises those messages. ... You could change the typing this way and make those error messages to go ... I can see that I have changed LongInt --> LongWord in 2004. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Compilation error without stating any reason
    ... error there are several warnings but no error messages. ... Note the 'but no error messages', ... but only after the code compiles at all. ... might report an error without explicitly using the 'error' keyword. ...
    (comp.unix.programmer)
  • running cgi off the command line works, but running on the browser fails with a 500 error
    ... Error 500 error is the follwoing ... line 7 -- shown below is prety simple ... use warnings; ... message, I've tried the usual 500 error messages, just wondering if anyone ...
    (perl.beginners)