troubleshooting Question

invoke shell script from Perl

Avatar of saibsk
saibsk asked on
Shell ScriptingPerl
8 Comments1 Solution650 ViewsLast Modified:
I am trying to execute a shell script which is giving me the following error.
system ksh check_xmlExtracts.ksh client638 source cl638 failed: 256 at run_dcm_scripts.pl line 12, <FH> line 1.

Perl script:

@args=("ksh", "check_Extracts.ksh","$array[0]","$array[4]", "$array[2]");
system(@args)==0
        or die "system @args failed: $?";

where @array=(client638    qsapp01     cl638       ATG    source)

Please advise.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros