Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.1, 1.2
-
None
-
Should exist for all platforms, but specifically identified on Windows 7.
Description
When using the ExecuteWatchdog with a very large timeout (e.g., Long.MAX_VALUE), the Watchdog immediately destroys the process instead of waiting for the duration of the timeout. For example, the following code snippet would continue immediately:
DefaultExecutor executor = new DefaultExecutor(); ExecuteWatchdog watchdog = new ExecuteWatchdog(Long.MAX_VALUE); executor.setWatchdog(watchdog); executor.execute(cmd); // Where `cmd` could be any valid command.
Attachments
Attachments
Issue Links
- relates to
-
EXEC-44 ExecuteWatchdog should accept infinite timeouts (argument -1)
- Closed