hi
when I execute the command from the shell command line - it works and no error code.
if I do the exact same command from a perl file - it fails with code 32512.
the file is created from the same perl script that runs the command that fails. file permission is 0664.
Code:
#! /usr/local/pkg/perl-5.8.8/bin/perl
print "Content-type: text/html\n\n";
my $commandStr="babel -icif '/mypath/butadiene.cif' -opdb '/mypath/butadiene.cif'";
my $cmdResults=`$commandStr` or print "error code: $?, error string: $!";
result:
Quote:
error code: 32512, error string:
|
what could error code 32512 mean in this case? why is it working from the command line and not from the perl script?