It looks like your system call is missing a forward slash between bin and wlsh.sh. Try using:
system("$ENV{WLSHELLHOME}/bin/wlsh.sh -f version.wlsh > version.txt");
Give that a try.
Give that a try.
----- Original Message ----
From: shivashankarst <shivashankarst@...>
To: wlshell@yahoogroups.com
Sent: Wednesday, May 31, 2006 5:12:31 AM
Subject: [wlshell] Unable to execute the .wlsh script from perl
Hi All,
My perl script contains:
system("$ENV{WLSHELLHOME}/bin wlsh.sh -f version.wlsh > version.txt");
where the WLSHELLHOME variable is defined (checked it using echo).
When I exeucte the above script, I get the below msg:
"sh: /export/home/perfuser/wlshell/bin: cannot execute".
But, when i just execute wlsh.sh -f version.wlsh > version.txt
separately at the console (w/o perl), it goes thru fine.
Thanks,
Shiva.
SPONSORED LINKS
| Computer monitoring software | Weblogic server | Computer and internet software |
| Free computer monitoring software |
YAHOO! GROUPS LINKS
- Visit your group "wlshell" on the web.
- To unsubscribe from this group, send an email to:
wlshell-unsubscribe@yahoogroups.com
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.