← Back to team overview

sikuli-driver team mailing list archive

[Bug 1791599] [NEW] [1.1.4] IDE: App.open("cmd ...") not working (only when run from commandline) --- workaround

 

Public bug reported:

--- problem
… only exists when trying to open a command prompt window, to run something there. For normal GUI applications (browsers, editors, …) it seems to work.

*************** workaround
edit and save script in IDE, but run from commandline in parallel ;-)
… or make some experiments with Python subprocess.Popen()
----------------------------------

I am using Java 8 and SikuliX 1.1.4 IDE.  I have a test script that uses
App.open to run a Windows batch script that launches a program.  If I
run the test script from the Windows command line it launches the tool
from the batch script, however, if I run the same test script from the
IDE, the tool is not launching.  This works fine in both the IDE and the
command line when using SikuliX 1.1.0

** Affects: sikuli
     Importance: High
     Assignee: RaiMan (raimund-hocke)
         Status: Fix Committed

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.4

** Summary changed:

- [1.1.4] IDE: App.open not working (only when run from commandline)
+ [1.1.4] IDE: App.open not working (only when run from commandline) --- workaround

** Description changed:

- I am using Java 8 and SikuliX 1.1.4 IDE.  I have a test script that uses
- App.open to run a Windows batch script that launches a program.  If I
- run the test script from the Windows command line it launches the tool
- from the batch script, however, if I run the same test script from the
- IDE, the tool is not launching.  This works fine in both the IDE and the
- command line when using SikuliX 1.1.0
+ *************** workaround
+ edit and save script in IDE, but run from commandline in parallel ;-)
+ ----------------------------------
+ I am using Java 8 and SikuliX 1.1.4 IDE.  I have a test script that uses App.open to run a Windows batch script that launches a program.  If I run the test script from the Windows command line it launches the tool from the batch script, however, if I run the same test script from the IDE, the tool is not launching.  This works fine in both the IDE and the command line when using SikuliX 1.1.0

** Summary changed:

- [1.1.4] IDE: App.open not working (only when run from commandline) --- workaround
+ [1.1.4] IDE: App.open("cmd ...") not working (only when run from commandline) --- workaround

** Description changed:

+ --- problem
+ … only exists when trying to open a command prompt window, to run something there.
+ 
  *************** workaround
  edit and save script in IDE, but run from commandline in parallel ;-)
+ … or make some experiments with Python subprocess.Popen()
  ----------------------------------
- I am using Java 8 and SikuliX 1.1.4 IDE.  I have a test script that uses App.open to run a Windows batch script that launches a program.  If I run the test script from the Windows command line it launches the tool from the batch script, however, if I run the same test script from the IDE, the tool is not launching.  This works fine in both the IDE and the command line when using SikuliX 1.1.0
+ 
+ I am using Java 8 and SikuliX 1.1.4 IDE.  I have a test script that uses
+ App.open to run a Windows batch script that launches a program.  If I
+ run the test script from the Windows command line it launches the tool
+ from the batch script, however, if I run the same test script from the
+ IDE, the tool is not launching.  This works fine in both the IDE and the
+ command line when using SikuliX 1.1.0

** Description changed:

  --- problem
- … only exists when trying to open a command prompt window, to run something there.
+ … only exists when trying to open a command prompt window, to run something there. For normal GUI applications (browsers, editors, …) it seems to work.
  
  *************** workaround
  edit and save script in IDE, but run from commandline in parallel ;-)
  … or make some experiments with Python subprocess.Popen()
  ----------------------------------
  
  I am using Java 8 and SikuliX 1.1.4 IDE.  I have a test script that uses
  App.open to run a Windows batch script that launches a program.  If I
  run the test script from the Windows command line it launches the tool
  from the batch script, however, if I run the same test script from the
  IDE, the tool is not launching.  This works fine in both the IDE and the
  command line when using SikuliX 1.1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1791599

Title:
  [1.1.4] IDE: App.open("cmd ...") not working (only when run from
  commandline) --- workaround

Status in Sikuli:
  Fix Committed

Bug description:
  --- problem
  … only exists when trying to open a command prompt window, to run something there. For normal GUI applications (browsers, editors, …) it seems to work.

  *************** workaround
  edit and save script in IDE, but run from commandline in parallel ;-)
  … or make some experiments with Python subprocess.Popen()
  ----------------------------------

  I am using Java 8 and SikuliX 1.1.4 IDE.  I have a test script that
  uses App.open to run a Windows batch script that launches a program.
  If I run the test script from the Windows command line it launches the
  tool from the batch script, however, if I run the same test script
  from the IDE, the tool is not launching.  This works fine in both the
  IDE and the command line when using SikuliX 1.1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1791599/+subscriptions


Follow ups