How to run sh.exe without a console window

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Dec 6 23:59:00 GMT 2006


cygwin.t.bnelson@xoxy.net wrote:
> I want to be able to run sh.exe from a dos environment (like
> Start->Run or the File Explorer) and not have it pop up a console
> window.
> 
> For example, if I were to type this in the Start->Run window:
> 
>        c:\cygwin\bin\sh.exe -c "c:/windows/notepad.exe"
> 
> I would see two windows--one for sh.exe and other for notepad.  (I'm
> just using notepad as an example).
> 
> I want to be able to run sh.exe without the DOS console window showing
> up.  Is there a way to do that?

Install the 'run' package.  Oh, and use it. ;-)

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list