Re: NT question launching programs

2000-09-27 Thread Kevin Miller

On 27/9/00 7:46 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 I've solve all the program launching problems I had (on windows). But on
 Windows NT when I launch a program using the shell command, sometimes Metacard
 is stuck waiting until I close that program - which is not very handy...  Im
 using cmd.exe already...
 
 Does anyone know a work around?

Can you use open process instead?

Regards,

Kevin

 Thanks
 Xavier

Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: NT question launching programs

2000-09-27 Thread xbury . cs


#  I've solve all the program launching problems I had (on 
# windows). But on
#  Windows NT when I launch a program using the shell command, 
# sometimes Metacard
#  is stuck waiting until I close that program - which is not 
# very handy...  Im
#  using cmd.exe already...
#  
#  Does anyone know a work around?
# 
# Can you use open process instead?

Well, in a previous post, I had mentioned that no other command worked
consistently. 
Someone told me that I had to use the directory global to set up the path to
the directory of the application (because even the full path didn't work)
and since then I've managed a consistent application launching on WinX (any
windows: 98 or NT or 2K). 

Open Process does NOT work consistently on WinNT as far as I've tried (and
I've tried A LOT to find the consistencies of which I found none). The
directory didn't seem to improve things either. Last but not least, I need
to launch these commands with parameters as in DOS, so Open Process will not
help...

So when one command works, why does the shell command stay stuck on
receiving a message if there is none? Maybe cmd.exe doesn't return anything
and it hangs waiting...

Maybe my question should be:
Is there a way to tell the shell command that it's just a one way call?

Cheers,
Xavier

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.