delorie.com/archives/browse.cgi | search |
From: | "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk> |
To: | DJGPP AT sun DOT soe DOT clarkson DOT edu |
Date: | Tue, 21 Nov 1995 11:16:45 GMT |
Subject: | Trouble spawning |
I have a Gnu C++ program that calls PKUNZIP.EXE thus:- k=spawnl(P_WAIT,UNZIP,ZIPWF,0); where P_WAIT is defined in #include<process.h>, UNZIP is a char* -> the full pathname of my copy of PKUNZIP.EXE, ZIPWF is a char* -> the full pathname of the zipfile that I want to unzip. But always when called thus, PKUNZIP behaves as it behaves when I call it directly from DOS without any arguments.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |