Craig A. Berry wrote:
The way I see the problem is that we are running the command under
the wrong shell (DCL instead of bash). One possibility here would be
to have Perl detect whether it is running under bash and if it is,
then prepend bash to the command for system(), exec(), and backtick
operations.
That would be looking at the environment variable "SHELL" and using it's
value if it is present. If it is not present, fall back to the current
behavior.
Better yet, if there were some way to make bash a true-blue CLI from
a VMS standpoint, then lib$spawn would automatically use whatever CLI
is in use by the parent. That's out of my league and I have no idea
how possible or difficult that would be.
I do not know either. I do not think that making it a true CLI is high
on the current priority lists. Bash currently uses DCL in a fallback
mode, and so it would have to be able to detect if DCL was not there.
It may already be able to do that.
-John
wb8tyw@xxxxxxx
Personal Opinion Only
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|