At 02:18 PM 2/15/2008 +0200, Niki Spahiev wrote:
>Phillip J. Eby wrote:
> > That's actually a separate problem from the one Paul and I are
> > talking about, one that I'm not even going to *try* to solve. (Being
> > as I already have, and failed miserably.) Hell, I'm not sure Windows
> > even has
Phillip J. Eby wrote:
> That's actually a separate problem from the one Paul and I are
> talking about, one that I'm not even going to *try* to solve. (Being
> as I already have, and failed miserably.) Hell, I'm not sure Windows
> even has a way to *tell* whether your app was launched from the
Greg Ewing canterbury.ac.nz> writes:
>
> Paul Moore wrote:
> > On Windows, GUI vs Console is a property of the EXE file,
> > and the differing behaviour is built into the OS loader.
>
> Would it be feasible for it to always start up as a gui
> app, and then create its own console window (a fake
Greg Ewing wrote:
> Daniel Stutzbach wrote:
>> Hmmm. So maybe what's needed is a *third* kind of exe that
>> gets launched when you double-click a .py file, that keeps
>> its console open after the script finishes?
>>
>> Picture command-line usage of python. You're sitting at your prom
Phillip J. Eby wrote:
> Hell, I'm not sure Windows even
> has a way to *tell* whether your app was launched from the command line
> or otherwise.
It wouldn't have to, if the .py extension were bound to
a different executable from the standard command line
interpreter, in the same way that .pyw i
Daniel Stutzbach wrote:
> Hmmm. So maybe what's needed is a *third* kind of exe that
> gets launched when you double-click a .py file, that keeps
> its console open after the script finishes?
>
> Picture command-line usage of python. You're sitting at your prompt,
> and you run a pyt
Facundo Batista wrote:
> When the process is issued as a Service, it don't even HAS
> stdin/stdout (not that is redirected to NUL). It don't even exist.
GUI apps don't have standard streams stdin, stdout and stderr, too. The
variables are defined when the code is compiled but during runtime the
st
2008/2/8, Daniel Stutzbach <[EMAIL PROTECTED]>:
> Picture command-line usage of python. You're sitting at your prompt, and
> you run a python script. It pops up a *new* window and you have to interact
> with that. Not a great user experience. Also, piping data to or from the
> script is imposs
At 03:59 PM 2/8/2008 +1300, Greg Ewing wrote:
>Paul Moore wrote:
> > As Phillip says. Windows console and GUI executables are completely
> > different in behaviour. Don't try to fight it. You need two distinct
> > EXEs.
>
>Hmmm. So maybe what's needed is a *third* kind of exe that
>gets launched wh
On Feb 7, 2008 8:59 PM, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Paul Moore wrote:
> > As Phillip says. Windows console and GUI executables are completely
> > different in behaviour. Don't try to fight it. You need two distinct
> > EXEs.
>
> Hmmm. So maybe what's needed is a *third* kind of exe tha
Paul Moore wrote:
> As Phillip says. Windows console and GUI executables are completely
> different in behaviour. Don't try to fight it. You need two distinct
> EXEs.
Hmmm. So maybe what's needed is a *third* kind of exe that
gets launched when you double-click a .py file, that keeps
its console o
On 07/02/2008, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> At 09:52 AM 2/8/2008 +1300, Greg Ewing wrote:
> >Would it be feasible for it to always start up as a gui
> >app, and then create its own console window (a fake one
> >if necessary) if it decides it needs one?
>
> No, because that would make
At 09:52 AM 2/8/2008 +1300, Greg Ewing wrote:
>Would it be feasible for it to always start up as a gui
>app, and then create its own console window (a fake one
>if necessary) if it decides it needs one?
No, because that would make it impossible to write a sane
command-line app. Imagine if runnin
Paul Moore wrote:
> On Windows, GUI vs Console is a property of the EXE file,
> and the differing behaviour is built into the OS loader.
Would it be feasible for it to always start up as a gui
app, and then create its own console window (a fake one
if necessary) if it decides it needs one?
Doing
14 matches
Mail list logo