commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siegfried Goeschl (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SANDBOX-203) Support for non-standard exit values indicating successful execution
Date Fri, 30 Nov 2007 18:24:43 GMT

     [ 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.


Mime
View raw message