You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Siegfried Goeschl (JIRA)" <ji...@apache.org> on 2007/11/30 19:24:43 UTC

[jira] Resolved: (SANDBOX-203) Support for non-standard exit values indicating successful execution

     [ https://issues.apache.org/jira/browse/SANDBOX-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siegfried Goeschl resolved SANDBOX-203.
---------------------------------------

    Resolution: Fixed

Added DefaultExecutor.setExitValue() and DefaultExecutor.setExitValues() to provide custom exit values.

> Support for non-standard exit values indicating successful execution
> --------------------------------------------------------------------
>
>                 Key: SANDBOX-203
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-203
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Exec
>            Reporter: Siegfried Goeschl
>            Assignee: Siegfried Goeschl
>
> For printing a PDF document on Windows XP Adobe Acrobat Reader 8.x can be used - even when successful the application returns "1" as exit value causing an exception in commons-exec. "1" is considered an execution failure and there is no way to overwrite the behavior which renders commons-exec useless here. 
> PS: Having said that Acrobat Reader 8.x also returns "1" if it can't print ... :-( 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.