This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: HELP! - Please



Oh!  This has to do with porting issues.  To execute the script from cygtclsh80
you'll have to `sh -c /tmp/junk' and make sure that the DOS PATH can find
sh.exe.

--- "Stewart, Wayne" <wayne.stewart@sonosite.com> wrote:
--8<--
> bash$ cat /tmp/junk
> #!/bin/sh
> 
> echo "Test executing a shell script from cygtclsh80"
> bash$ /tmp/junk
> Test executing a shell script from cygtclsh80
> bash$ ls -l /tmp/junk
> -rwxr-xr-x   1 wstewa   users          67 Apr 23 10:44 /tmp/junk
> bash$ type cygtclsh80
> cygtclsh80 is hashed (/cygnus/CYGWIN~1/H-I586~1/bin/cygtclsh80)
> bash$ cygtclsh80
> % /tmp/junk
> couldn't execute "\tmp\junk": no such file or directory
> % exec /tmp/junk
> couldn't execute "\tmp\junk": no such file or directory
> % exit
> bash$
> 
--8<--
===
"Earnie Boyd" <mailto:earnie_boyd@yahoo.com>
CYGWIN RELATED HELP:
 DOCUMENTATION: <http://sourceware.cygnus.com/cygwin/docs.html>
       DLLHELP: <http://www.xraylith.wisc.edu/~khan/software/gnu-win32/>
ARCHIVE SEARCH: <http://www.delorie.com/archives/> OR
                <http://www.eGroups.com/list/gnu-win32/>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com