Hi,
> $ cow-shell
> Invoking bash
> cow-shell: exec: No such file or directory
What's wrong with your configuration is that you have
'bash' as SHELL, and not a full path.
Where is the environment variable set on your system?
A workaround would be the following patch:
--- cow-shell.c.~1.5.~ 2005-08-17 08:53:34.000000000 +0900
+++ cow-shell.c 2005-09-21 22:15:29.000000000 +0900
@@ -48,9 +48,9 @@
const char* myshell=getenv("SHELL")?:"/bin/sh";
fprintf(stderr, "Invoking %s\n", myshell);
- execl(myshell,
- myshell,
- NULL);
+ execlp(myshell,
+ myshell,
+ NULL);
}
perror("cow-shell: exec");
return 1;
regards,
junichi
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]