Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316404 - PBS JProxy should check exit code and stderr of pbs commands
Summary: PBS JProxy should check exit code and stderr of pbs commands
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM.PBS (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.0.1   Edit
Assignee: Roland Schulz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 316225
Blocks:
  Show dependency tree
 
Reported: 2010-06-09 21:41 EDT by Roland Schulz CLA
Modified: 2010-07-29 21:19 EDT (History)
1 user (show)

See Also:


Attachments
check exit code and stderr of pbs command (6.47 KB, patch)
2010-06-09 21:41 EDT, Roland Schulz CLA
no flags Details | Diff
updated - cleaned up (8.86 KB, patch)
2010-07-28 20:43 EDT, Roland Schulz CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Schulz CLA 2010-06-09 21:41:22 EDT
Patch should address this. Has to be tested.
Comment 1 Roland Schulz CLA 2010-06-09 21:41:53 EDT
Created attachment 171599 [details]
check exit code and stderr of pbs command
Comment 2 Roland Schulz CLA 2010-06-30 01:31:30 EDT
Patch depends on Patch in 316225 (the exception thrown, if executing the command fails, has to be send as error message to the client)
Comment 3 Roland Schulz CLA 2010-07-28 20:43:34 EDT
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
Comment 4 Roland Schulz CLA 2010-07-29 21:19:46 EDT
committed to HEAD