Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316404

Summary: PBS JProxy should check exit code and stderr of pbs commands
Product: [Tools] PTP Reporter: Roland Schulz <roland>
Component: RM.PBSAssignee: 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 Flags
check exit code and stderr of pbs command
none
updated - cleaned up none

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