1. exw.exe & stdout

When you open up the command line, and call a windows app.

"exw sim.exw -my args"

If the program has any calls to stdout, ie puts, a new window is opened to 
display them.

Is there anyway to display them on true stdout? Ie on the commandline?

MrTrick

new topic     » topic index » view message » categorize

2. Re: exw.exe & stdout

Patrick Barnes wrote:
> When you open up the command line, and call a windows app.
> 
> "exw sim.exw -my args"
> 
> If the program has any calls to stdout, ie puts, a new window is opened 
> to display them.
> 
> Is there anyway to display them on true stdout? Ie on the commandline?

In 2.4 there's a program, makecon.exw, in euphoria\bin.
Run it to create exwc.exe, a version of exw.exe that
should do what you want. It uses the current console
window (and current standard out) rather than popping
up a new window.

Regards,
    Rob Craig
    Rapid Deployment Software
    http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: exw.exe & stdout

>From: Patrick Barnes <mistertrik at hotmail.com>
>Subject: exw.exe & stdout
>
>
>When you open up the command line, and call a windows app.
>
>"exw sim.exw -my args"
>
>If the program has any calls to stdout, ie puts, a new window is opened to 
>display them.
>

  That's true. It's because the interpreter has a GUI subsystem.

>Is there anyway to display them on true stdout? Ie on the commandline?
>

  You need to convert it to a console app. Use setsubsys to do this.
http://www.rapideuphoria.com/cgi-bin/asearch.exu?win=on&keywords=setsubsys
Just run (on a copy): "setsubsys exw.exe /c"

>MrTrick
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu