Subject: | |
From: | |
Reply To: | |
Date: | Wed, 28 Jul 2004 09:57:41 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
List,
Im writing an application that I want to re-direct the output to a
file. I do a create process as follows:
cmdline = (command i want to execute );
itemnums[0] = 11;
items[0] = (command arguments );
itemnum[1] = 12;
items[1] = strlen(command arguments );
itemnum[2] = 9;
items[2] = (file to redirect output to );
itemnums[3] = 14
items[3] = (file to redirect output to );
itemnums[4] = 0;
items[4] = 0;
CREATEPROCESS( &createstatus, &jobpin, cmdline, itemnums, items );
after I check createstatus and I get a 19, which according to the
intrinsics reference manual means:
"PROCESS NOT CREATED; specified $STDLIT could not be opened".
Am I to create the file for $STDLIST list first, or will it dynamlically
create the file, or how does this work?
Any ideas/examples on how to get this to work?
TIA!
Walt Fles
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|