Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1600

ProcessExecutor might get stuck on Windows

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Activity

          People

            kpiwko Karel Piwko
            kpiwko Karel Piwko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: