GUI console window temporarily pops up - also, GUI app calling console apps.

5 views
Skip to first unread message

David Ljung Madison

unread,
Dec 7, 2008, 10:32:58 AM12/7/08
to Cava Packager

I have two perl scripts that I am packaging as .exe with Cava.

The first script is a wxPerl GUI and needs no console window.

The second script is called by the GUI script (multiple times) through
a pipe which the GUI needs to read.

In the GUI/console settings I tried setting the first script to GUI
and the second to console, and then each invocation of the second
script would popup a console window temporarily, which made the
machine unusable until the task was done.

So I tried setting both scripts to GUI, since I didn't actually need
to see any console windows, and the pipe stopped working - the GUI
wasn't able to read the pipe anymore.

Finally I set the first script to console, and it works, the pipe
works fine and it doesn't pop up loads of console windows, though it
does pop up the one console window that the GUI uses (even though it
doesn't print anything).

Seems to be a bit of a bug - having both scripts set to use no console
shouldn't break the pipe.

Regardless, until that's fixed, is there any way to have the console
windows open up minimized?

Reply all
Reply to author
Forward
0 new messages