| delorie.com/archives/browse.cgi | search |
| From: | hassan AT cp10 DOT es DOT xerox DOT com (Hassan Blurfrushan) |
| Subject: | problems with bash (fork, Permission denied erros) |
| 14 Aug 1997 21:47:35 -0700 : | |
| Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
| Distribution: | cygnus |
| Message-ID: | <199708150040.RAA01616.cygnus.gnu-win32@beluga> |
| Original-To: | gnu-win32 AT cygnus DOT com |
| Original-Cc: | hassan AT cp10 DOT es DOT xerox DOT com |
| X-Sun-Charset: | US-ASCII |
| Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
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 AT cygnus DOT com" with one line of text: "help".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |