delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:content-transfer-encoding | |
:content-type:message-id:date:from:to:subject:references | |
:in-reply-to; q=dns; s=default; b=lF2zkDoyP7GDMJyRV2bZLL5tKZngow | |
vxrgGTGxzem1aOQDRXUsUoMKd8y4KSzOyXGG5XH0ssLJGS8bJEyudcuiXrmV9vMG | |
oZRPDqVq63KOjJSpLlbAJy1eM8XobGKIIJ1YBpEOKO2CXo0vpAf//VMtWMnY9nQh | |
L5UMceCebXy9c= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:content-transfer-encoding | |
:content-type:message-id:date:from:to:subject:references | |
:in-reply-to; s=default; bh=suKmNXvQUvUFKOkMSRqctl75egg=; b=Z9DC | |
2CmsZY+dB6FMyMkri7MrIBVElWmrImH/hZjL9/p7mngaJsmdkxIvTMm4xspj17sB | |
YaO1lS6jDHZ+JbY4D43Wm4aFtJ0xE6yHhlmazqPyWaX6WP1K9pstgyrWF0O4jLds | |
/jwztZNO5MfA7YSAOdj43dpQEPwMMi1yt0wNqNg= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | vms173021pub.verizon.net |
MIME-version: | 1.0 |
Message-id: | <5406680D.4030105@verizon.net> |
Date: | Tue, 02 Sep 2014 20:59:57 -0400 |
From: | Gerry Reno <greno AT verizon DOT net> |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: latest cygwin: 'run' problem |
References: | <5405C013 DOT 7030503 AT verizon DOT net> <87a96hrki4 DOT fsf AT Rainer DOT invalid> <54060378 DOT 2070108 AT gmail DOT com> |
In-reply-to: | <54060378.2070108@gmail.com> |
X-IsSubscribed: | yes |
On 09/02/2014 01:50 PM, Marco Atzeri wrote: > > > On 02/09/2014 19:37, Achim Gratz wrote: >> Gerry Reno writes: >>> I have a script that issues this command: >>> >>> run $WINDIR/system32/mstsc.exe /multimon /v:$IP:3389 >>> >>> >>> And before this script has always succeeded but now it errors as follows: >>> >>> Invalid connection file (/v:192.168.1.27:3389) specified >>> >>> In a terminal window I can run the command directly and it succeeds: >>> >>> $WINDIR/system32/mstsc.exe /multimon /v:$IP:3389 >>> >>> But 'run' no longer successfully runs the command. >>> >>> Can someone verify this? >> >> Well I can verify that this happens, but I have no idea why. It seems >> that mstsc doesn't parse the option as option when started via run… >> >> >> Regards, >> Achim. >> > > I noticed that > > run "$WINDIR/system32/mstsc.exe /multimon /v:my_ip:3389" > > produces equivalent output of > > mstsc.exe /multimon /v:my_ip:3389 > > so eventually run is splitting the arguments in a way that mstsc > does not like > > Marco > > It looks like it's always taking the last argument as a file. No matter what you put at the end of the line 'run' causes mstsc to think it's a file that needs opened. Gerry -- 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 |