thanks that really clear up a bunch of things..
the Subsytem attribute on the executable is set to Windows as you suspected.. and the key thing there is that this application does HAVE a stdin for Run3 to dup and use.
I probably should be able to tell if handle 0 is valid or not.
in reply to Re: detecting running environment, windows
in thread detecting running environment, windows