Talk:Process.h

From Wikipedia, the free encyclopedia

Can you back up with references, the fact that the argument length of spawn* must not exceed 128 characters ? DJGPP libc reference mention a length 126( which does not apply to DJGPP ).

Quote from MSDN title "To pass arguments to the new process, give one or more pointers to character strings as arguments in the _spawn call. These character strings form the argument list for the spawned process. The combined length of the strings forming the argument list for the new process must not exceed 1024 bytes. The terminating null character ('\0') for each string is not included in the count, but space characters (automatically inserted to separate arguments) are included."

So I guess the article should mention about other implementation, rather than offering Digital Mars as a defacto. unsigned comment by User:Muttley.meen

[edit] unistd.h

The functions exec* are in the POSIX unistd.h header. JeromeJerome (talk) 11:59, 28 November 2007 (UTC)