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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=f55wNdn7M00trjVY/s/gXufyRrF0oP6MJWVpL+dF8vq DJw2+sc2776yiSIem37HVufIwb7lNQneK+ITjYU1GnoFYloBXM+1zBTtB67guP76 zbDeHM7l9w6OulhtqbNeiesPz5VR2g4z8ztdxQyB8XKTdLPYhJUJQEirugXBSffw = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=alymh7M9zZ2wl/1w8al3Sc9EWZM=; b=TAOXYVg+BPremsX1Z s6xnAUT8JaBAGDnCqYL2iOOg7jfWjIgoGSjhvNVBkQVPQ7xNrUKaKCQb45GC1zBp 2VkuNpT/YWopStII++eT83YwrE6qM9pQh+Y+9XCdrxy6+uPvxFodfMRfz1E5X/iu V4/tdGd6iHVjTtM9gnBHmGLes4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f49.google.com X-Received: by 10.112.217.2 with SMTP id ou2mr3707236lbc.101.1409680254026; Tue, 02 Sep 2014 10:50:54 -0700 (PDT) Message-ID: <54060378.2070108@gmail.com> Date: Tue, 02 Sep 2014 19:50:48 +0200 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 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> In-Reply-To: <87a96hrki4.fsf@Rainer.invalid> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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 -- 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