mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
Update by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2690 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
d7cbbc6f46
commit
e3eea961c2
@ -31,8 +31,18 @@
|
||||
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <clib/dos_protos.h>
|
||||
/*****************************************************************************/
|
||||
/* Data */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
/* Mode argument for spawn. This value is ignored by the function and only
|
||||
* provided for DOS/Windows compatibility.
|
||||
*/
|
||||
#ifndef P_WAIT
|
||||
#define P_WAIT 0
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@ -64,7 +74,7 @@ int spawnvp (int Mode attribute ((unused)),
|
||||
SB_Terminate (&Command);
|
||||
|
||||
/* Invoke the shell to execute the command */
|
||||
Status = System (SB_GetConstBuf (&Command), TAG_END)
|
||||
Status = system (SB_GetConstBuf (&Command));
|
||||
|
||||
/* Free the string buf data */
|
||||
DoneStrBuf (&Command);
|
||||
|
Loading…
Reference in New Issue
Block a user