Shell scripts

Kees van Veen
Thu Jan 22 00:45:00 GMT 1998

I'm using NT 4.0 SP3, b18, latest coolview.

I have created a shortcut with the target:

	c:\gnuwin32\b18\H-i386-cygwin32\bin\sh.exe -c

This works fine and enables me to login locally on the console.

I can start all kinds of programs and shell scripts, except shell
scripts with ':' on the first line (instead of #!/bin/sh), and I get an
error like 

	sh: ./myshell: No such file or directory

If I start a subshell from the current shell (by typing 'sh') and type
'myshell' again the shell script is executed well.

I'm also using the inetd/telnet daemon and have no problem there.

I've tried to specify flags like  '-login' to the shortcut
specification, but without any success.

Does anyone know why I have to start two shells to get these shell
scripts working ?

Thanks in advance,
For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list