Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
* Problem with C function 'system()'...
@ 1995-11-27  5:00 Carl J. Lambrecht
  1995-11-29  5:00 ` Paul
  1995-11-29  5:00 ` Brian Hibbert
  0 siblings, 2 replies; 6+ messages in thread
From: Carl J. Lambrecht @ 1995-11-27  5:00 UTC (permalink / raw)



I am developing an application in C on a VAX 4100 running OpenVMS 6.1, 
and I am having problems with using the system() function.  At one point, 
I use it to get a directory, and bring filenames into the program.  That 
works fine.  However, I can not seem to get it to execute the following:
	sysret=system(strcat("def sys$output ",redir_file));
The C code compiles, links, executes fine, but the command does not 
process during run time.  Any ideas?  Can I get around this by using 
getenv() and putenv()?  If so, how do I do this?   Any answers are most 
appreciated.  Please email me at work : clambrecht@kinesisinc.com
Thanks in advance...

-Carl Lambrecht
Kinesis Computing, Inc.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1995-12-04  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-27  5:00 Problem with C function 'system()' Carl J. Lambrecht
1995-11-29  5:00 ` Paul
1995-12-01  5:00   ` Carl J Lydick
1995-12-04  5:00     ` Paul
1995-11-29  5:00 ` Brian Hibbert
1995-11-29  5:00   ` Carl J Lydick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox