/* Copyright (c) 1993 Xerox Corporation. All rights reserved. */ /* @(#)pcrrex.x */ /* Chauser, October 28, 1993 4:03 pm PDT */ /* * Exec server protocol for PCR */ const STRINGSIZE = 1024; typedef string execstring<1024>; struct exec←exec { int key; /* secret key, without which the server will do nothing */ execstring wd; /* working directory for cmd */ execstring path; /* full path to command */ execstring cmd<>; /* list of command and args i.e argv structure */ execstring env<>; /* environment list */ execstring stdIn; /* path or empty */ execstring stdOut; /* path or empty */ int separateStdErr; /* don't share fd between stdOut and stdErr */ execstring stdErr; /* path or empty */ };