This is the mail archive of the
mailing list for the Cygwin project.
Re: Tip: Running a bash script without the terminal window...
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin at cygwin dot com
- Date: Sun, 22 Dec 2002 22:51:50 -0500 (EST)
- Subject: Re: Tip: Running a bash script without the terminal window...
- Reply-to: cygwin at cygwin dot com
For the archives: http://cygwin.com/ml/cygwin/2002-12/msg01208.html
On Mon, 23 Dec 2002, [iso-8859-1] Peter Valdemar Mørch wrote:
> This is just a little tip I'd like to share.
> It annoyed me for some time, that whenever I ran a bash script, I got a
> terminal window whether or not my script needs it. Here is a Visual Basic
> snippet that works for me on W2K and XP, and that runs a bash script without
> the terminal. I use it to start xterms from windows shortcuts, for instance.
> It really can start all kinds of things, also .bat files, if you like...
> C:\WINNT\system32\wscript.exe c:\data\scr\quiet.vbs c:\cygwin\bin\bash --login -c "echo do your bashing stuff here > /tmp/somefile"
> I think all machines have the wscript.exe executable. The VB script is of
> course the central element, and here it is:
> [snip quiet.vbs]
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html