* @return the Id as String
*/
private String getOfficeProcessID() {
writeExecutableFile(sProcessIdCommand, sProcessId);
ProcessHandler processID = new ProcessHandler(sProcessIdCommand);
processID.executeSynchronously();
String text = processID.getOutputText();
if (text == null || text.equals("") || text.indexOf(' ') == -1)
failed("Could not determine Office process ID. Check " + sProcessIdCommand);
StringTokenizer aToken = new StringTokenizer(text);
// this is not nice, but ps gives the same output on every machine