Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: Perl Program Exits.

by Xelium (Initiate)
on Aug 03, 2012 at 07:03 UTC ( #985167=note: print w/replies, xml ) Need Help??

in reply to Re: Perl Program Exits.
in thread Perl Program Exits.

Thank you, this worked, I couldn't find how to edit it in properties though.

Replies are listed 'Best First'.
Re^3: Perl Program Exits.
by BrowserUk (Pope) on Aug 03, 2012 at 07:28 UTC
    I couldn't find how to edit it in properties though.

    I'm not aware of any mechanism using the properties to prevent the window closing when the program finishes.

    My 'fix' simply delays the program finishing for a very long time or until you manually close the window.

    There is wperl.exe which can do something similar I think, but I've never used and can't find any documentation on how to use it.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      wperl.exe does the opposite. It doesn't prevent the window from disappearing, it prevents it from ever appearing. It's used for GUI scripts where you do not want the console to show.

      Enoch was right!
      Enjoy the last years of Rome.

Re^3: Perl Program Exits.
by Anonymous Monk on Aug 03, 2012 at 08:07 UTC
    You "could" setup this association
    assoc .plA=PerlScriptAnnoying FTYPE PerlScriptAnnoying=cmd.exe /k "perl.exe" %1 %* set pathext=%pathext%;.PLA
    and that would keep cmd.exe open after perl is finished (/k means keep cmd open)
Re^3: Perl Program Exits.
by Anonymous Monk on Aug 03, 2012 at 08:01 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985167]
[robby_dobby]: I attended a couple conferences (both in India). Left me with a renewed enthusiasm to do more, only to see it disappear in a few days!
[LanX]: Then come to YAPC EU in Amsterdam ...
[robby_dobby]: LanX: But that's in Africa! More like YAPC::Africa
choroba fears Amsterdam might fill him with enthusiasm to do nothing
[robby_dobby]: Uff, too expensive :-(
[LanX]: ... I found YAPC EU more entertaining (and international )than YAPC NA
[robby_dobby]: What's the site for YAPC::EU?
[LanX]: Robby Dobby no IIRC Sinai is already part of Asia
[robby_dobby]: page for yapceu is out of date by 2 years
[robby_dobby]: LanX: Sharm-el-Sheikh is in Egypt

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2017-04-24 15:57 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (442 votes). Check out past polls.