This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: run-1.1.11-1
- From: "Colin Harrison" <colin dot harrison at virgin dot net>
- To: <cygwin at cygwin dot com>
- Date: Sun, 16 Aug 2009 12:48:09 +0100
- Subject: Re: [ANNOUNCEMENT] Updated: run-1.1.11-1
Hi,
You probably know this, but a JavaScript file can be used to do something
similar to the Run Utility for Windows CUIs...
//test.js
//JavaScript to display xeyes without a local Command Prompt...
var wshell = new ActiveXObject('WScript.Shell');
wshell.Run('"C:\\Program Files\\Xming\\xeyes.exe" -display :2',0);
It's the '0' that does the magic.
(I haven't tested this on Windows 7)
Thanks
Colin
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple