PerliKnight has asked for the wisdom of the Perl Monks concerning the following question:

Monks and monkesses

Very simple question. Hopefully, very simple answer!

Got a small Perl program compiled to an exe with PerlApp. I can run this from shell window or a DOS box. If I then call it from another language, in this case PL/SQL, how do I stop the DOS box popping up????

The Perl program doesn't print anything so I just want it to run, but I don't want the DOS box.

Thanks,
PerliKnight

update (broquaint): title change (was Invisible Perl)

Replies are listed 'Best First'.
Re: Hide DOS window running PerlApp
by Aristotle (Chancellor) on May 30, 2003 at 11:16 UTC
Re: Invisible Perl
by tinita (Parson) on May 30, 2003 at 11:16 UTC
    for not compiled scripts you would use wperl.exe instead of perl.exe. i don't know about compiled scripts. googling for this suggests using the "-gui"-option when compiling.
    hth
Re: Hide DOS window running PerlApp
by JamesNC (Chaplain) on May 30, 2003 at 12:23 UTC
    if you run perlapp with no arguments, you will get a list of all the options... the one you want is ( --gui ) to get help use ( --help)... PerlApp is very cool I just started using it and Tk to put a gui's on my scripts... talk about fast prototyping in perl...
    The supported options are: --gui don't use a console --help print manpage (documentation)
    Good luck, JamesNC
      Whoops, never noticed that - ever feel stupid?

      Thanks all for replying.

      Cheers,
      PerliKnight