[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: interactive shell is incorrect
From: |
David Thompson |
Subject: |
RE: interactive shell is incorrect |
Date: |
Thu, 5 Jun 2003 16:51:56 -0700 |
[snip]
>Can you help suggest experiments?
Maybe this shows the problem is bash,
$ cat ~/.bashrc
echo Hello bashrc
$ /bin/bash -c /bin/pwd
Hello bashrc
/home/davidt/tmp
$ /bin/sh -c /bin/pwd
/home/davidt/tmp
Why does bash think it's running interactively when
the -c option is present? I need to study the bash
man pages and pursue as a bash problem ...
Paul, thanks for your help!
--
David Thompson
Foster City, CA