| Summary: | PBS JProxy should check exit code and stderr of pbs commands | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Roland Schulz <roland> | ||||||
| Component: | RM.PBS | Assignee: | Roland Schulz <roland> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | ben | ||||||
| Version: | 4.0 | ||||||||
| Target Milestone: | 4.0.1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 316225 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Roland Schulz
Created attachment 171599 [details]
check exit code and stderr of pbs command
Patch depends on Patch in 316225 (the exception thrown, if executing the command fails, has to be send as error message to the client) Created attachment 175451 [details]
updated - cleaned up
Makes sure that all of stdout and stderr is read (otherwise is dead-lock is possible). Also if program writes something to stderr this is send as warning to UI. If the exitValue is non-zero an error is sent to the UI.
TODO: Test
committed to HEAD |