This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Windowless Perl


Greetings, L A Walsh!

> On 2019/06/10 13:12, Chris Wagner wrote:
>> I didn't know about run, thanks for the tip. However when I use it to
>> launch something from the Start Menu Run command, it still pops open a 
>> terminal window of some kind for a fraction of a second.  I'm on Windows 
>> 7.
>>   
> Windows has a flag set in each EXE as to whether or not it is a console
> or GUI program.  There are tools that can set the flag in a given EXE file.

It's not a flag, it's an exported function.
If a program exports winmain(), it's a gui program, if it exports main(), it's
a console program.

> Perhaps that's similar to the util that Bill Stewart is talking about,
> dunno.


-- 
With best regards,
Andrey Repin
Tuesday, June 18, 2019 18:26:18

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]