Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 2 > Newsgroup comp.lang.smalltalk.dolphin

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2007, 03:25 PM
Bill Schwab
Guest
 
Posts: n/a
Default ExternalProcess question

Bob, anybody,

Is it safe to launch something as (tersely as) follows:

ExternalProcess new
commandLine:'xyz.exe';
execAsync.

It seems to work (when it works - see below), but I am wondering about
leaks that might result from failing to something??

My goal is create a password-protected launcher for a streamlined shell
(Emerge is the top candidate right now). I also want password-protected
access to explorer, and that is not working yet. AFAICT, #system: is
deprecated because it cannot simultaneously use stdin/out and protect
Dolphin from errantly being closed when the console closes. I can
probably live with that, since I do not need the output in the
situations I envision. Back to ExternalProcess, I suspect that explorer
is loading and closing immediately. Am I missing something silly?

Have a good one,

Bill


--
Wilhelm K. Schwab, Ph.D.
bills@anest4.anest.ufl.edu
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 05-15-2007, 10:34 PM
Bill Schwab
Guest
 
Posts: n/a
Default Re: ExternalProcess question

Hello all,

> Is it safe to launch something as (tersely as) follows:
>
> ExternalProcess new
> commandLine:'xyz.exe';
> execAsync.
>
> It seems to work (when it works - see below), but I am wondering about
> leaks that might result from failing to something??


I think I got to the bottom of it. My past successes with
ExternalProcess were in cases where the console/window should not be
displayed. Some searching later, I found the SW_HIDE flag, and added a
way to change it to SW_SHOW. Now the explorer and command shell are
visible and appear to work.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
bills@anest4.anest.ufl.edu
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: PROC FREQ--DATA STEP--MODELING QUESTION nospam@HOWLES.COM (Howard Schreier Newsgroup comp.soft-sys.sas 0 06-07-2007 02:04 AM
Re: PROC FREQ--DATA STEP--MODELING QUESTION toby dunn Newsgroup comp.soft-sys.sas 0 06-06-2007 07:51 PM



All times are GMT. The time now is 07:19 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.