← Back to team overview

sikuli-driver team mailing list archive

[Question #147551]: Calling Sikuli from Perl

 

New question #147551 on Sikuli:
https://answers.launchpad.net/sikuli/+question/147551

Hi,

I have previously called a Sikuli Script from Perl and am trying to do it again.  However, this time I keep getting an error.

The error I am getting is:

Can't spawn "":\Program Files\Sikuli\Sikuli-IDE.exe"-r "U:\_John\AddRemovePids.skuli" --Args 635A7": No error at U:\_John\AddRemovePids.pl line 169.

My code to call Sikuli is:
line 164  my $sikuliExe = "\"C:\\Program Files\\Sikuli\\Sikuli-IDE.exe\"";
line 165  my $sikuliScript = "\"U:\\_John\\AddRemovePids2.sikuli\"";
line 166  my $sikuliCmd = $sikuliExe . " -r " . $sikuliScript . " --args " . $dept;
line 167  my $status = -1;
line 168  print ("  Calling Sikuli Script: $sikuliCmd\n");
line 169  $status = system("$sikuliCmd");

Any suggestions as to what is going on.  As stated previously, I have gotten this code to work calling a different script with a different parameter but this one doesn't want to work.  Help!!!! :(

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.