problems with bash (fork, Permission denied erros)

Hassan Blurfrushan hassan@cp10.es.xerox.com
Thu Aug 14 19:42:00 GMT 1997


I have noticed 2 problems when using bash:


The first problem happens on both beta18 and
beta17.1 versions. When running shell scripts
on my NT 4.0 workstation, intermittently I get
a "Permission denied" message like this:

/usr/bin/grep: Permission denied
/usr/bin/tr: Permission denied

This always happens when muliple pipes are used.
e.g.  ps | grep -v grep | grep abc | awk '{print $NF}'



The second problem happens on beta18 only (works
fine on beta17.1). If there are any long if statements
like the following:

if [ $a = $b ]; then
  (about 2000 lines of shell stuff here)
fi

Then bash fails with the following error:
fork_helper: child died before initialization with win32 error 128
fork_helper: child died before initialization with win32 error 128
fork: No more processes




H. Blurfrushan



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list