delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Date: | Fri, 11 Mar 2005 02:39:51 -0500 |
From: | junk AT jake8us DOT org |
To: | cygwin AT cygwin DOT com |
Subject: | UNC within the PATH |
Message-ID: | <20050311073951.GA5477@skinner.bubba.net> |
Reply-To: | Sam M <junk AT jake8us DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.4.1i |
X-Editor: | Vim http://www.vim.org/ |
X-Info: | http://www.jake8us.org/ |
X-Operating-System: | Linux/2.4.22-1.2179.nptl (i686) |
X-Uptime: | 02:22:23 up 10 days, 2:37, 3 users, load average: 1.30, 1.27, 1.27 |
X-Virus-Status: | Clean |
Received-SPF: | none (krycek.bubba.net: domain of sam AT mail DOT bubba DOT net does not designate permitted sender hosts) |
I've been messing around with a PATH like this: PATH=....;\\machine\share I then place bash scripts in \\machine\share\ts1.sh and in c:\ts2.sh ts1.sh & ts2.sh look like this: #!/bin/sh echo "hello world" Finally I created a file association for the extension .sh so that it will use c:\cygwin\bin\bash.exe. I then try to run ts1.sh & ts2.sh the following ways from a cmd.exe window: 1% ts1.sh \machine\share\ts1.sh: \machine\share\ts1.sh: No such file or directory 2% \\machine\share\ts1.sh \machine\share\ts1.sh: \machine\share\ts1.sh: No such file or directory 3% c:\cygwin\bin\bash.exe \\machine\share\ts1.sh hello world 4% c:\ts2.sh hello world Can anyone shed some light on why 1 & 2 won't work with cygwin's bash.exe and/or sh.exe? Note I can get 1 & 2 to work using MKS Software's nutcracker suite. -- ####[ Linux One Stanza Tip (LOST) ]########################### --=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=-- Sub Killing a Process (#3) LOST #150 --=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=-- To kill a process by name, use the killall command. To kill a failed fetchmail session on tty1 as an user, log into another console, and issue the command "killall fetchmail". Be careful with this command as root, since all instances of the program used by *all* users will be killed !!! --=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=-- ####<bish AT nde DOT vsnl DOT net DOT in>#################################### _ _ \|/ o' \,=./ `o @-@ http://www.jak8us.org/~sam/ (o o) --ooO--(_)--Ooo---=--=---=--=---=---=---=--=---ooO--(_)--Ooo-- \ / GPG Pub. Key: http://www.jake8us.org/~sam/pubkey.asc --..---..---..---..---..---..---..---...---..---..---..---..-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |