No, you don't need to, it is just one option. Again, what exactly do you want? I'm not sure if you don't want to see perl's console window or the batch file's console.

Again, if you control the computers it is run on, right-click on your compiled script, go to "properties", and change the Run: field to "minimized" instead of "Normal Window". It's not a perl way of doing it, but aside from the  --gui option provided by perlapp, I can't think of another solution. I know that by adding Tk you'll increase your executable size by about 800 Kb, but if size isn't a concern for you, it is an aesthetic way of handling the issue. In fact, although I've never tried it, I don't think you have to use Tk to use the  --gui option at all, it just won't have a console.

Alternatively, have you looked at perltray within the PerlDevKit? I haven't used it, but it looks like a different way of accomplishing the task you're looking for, but I can only imagine that it will also add ~1 MB to your executable.

- - arden.


In reply to Re: Re: Re: launch perl app in minimized mode by arden
in thread launch perl app in minimized mode by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.