Changes return value from boolean to typical process return code;