| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_00 |
| X-Spam-Check-By: | sourceware.org |
| From: | "Colin Harrison" <colin DOT harrison AT virgin DOT net> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | Re: [ANNOUNCEMENT] Updated: run-1.1.11-1 |
| Date: | Sun, 16 Aug 2009 12:48:09 +0100 |
| Message-ID: | <200908161148.n7GBm9tk031927@StraightRunning.com> |
| MIME-Version: | 1.0 |
| X-Originating-Smarthost02-IP: | [62.3.107.196] |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |