-#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
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);
+ SB_Done (&Command);
/* Return the result */
return Status;