- return SpawnCommand(in, out, err, Program->Command);
+ // Log spawn header
+ {
+ char buffer[101];
+ size_t len = snprintf(buffer, 100, "[%"PRIi64"] init spawning ", _SysTimestamp());
+ _SysWrite(out, buffer, len);
+ for( int i = 0; Program->Command[i]; i ++ )
+ {
+ _SysWrite(out, "'", 1);
+ _SysWrite(out, Program->Command[i], strlen(Program->Command[i]));
+ _SysWrite(out, "'", 1);
+ }
+ _SysWrite(out, "\n", 1);
+ }
+
+ return SpawnCommand(in, out, err, Program->Command, NULL);