[arquillian-issues] [JBoss JIRA] (ARQ-1600) ProcessExecutor might get stuck on Windows

Karel Piwko (JIRA) jira-events at lists.jboss.org
Mon Dec 9 06:48:06 EST 2013


Karel Piwko created ARQ-1600:
--------------------------------

             Summary: ProcessExecutor might get stuck on Windows 
                 Key: ARQ-1600
                 URL: https://issues.jboss.org/browse/ARQ-1600
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Karel Piwko
            Priority: Blocker


Current execution of external process on Windows might lead to following issues, causing process deadlock:

1/ Process stdin is not closed if no longer needed
2/ Process stdout and stderr never reach EOF

This behavior is observed when a .bat file file is executed on Windows. This behavior is caused by missing file descriptors to underlying process spawned by bat file.

Implementation note: There are two ways how to resolve the issue.

* read output stream and consider them finished if specific message is encountered
* unwrap bat execution and execute directly underlying command

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list