We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0158579 commit cc8a9ebCopy full SHA for cc8a9eb
libc/proc/execve.c
@@ -57,6 +57,11 @@
57
* compiled by MSVC or Cygwin is launched instead, then only the stdio
58
* file descriptors can be passed along.
59
*
60
+ * On Windows, the parent process must be a cosmo program. If you're
61
+ * calling execve() from a program that wasn't launched by cosmopolitan
62
+ * bash, or some similar program, then ask yourself if what you really
63
+ * want is to either (a) call fork() first, or (b) use posix_spawn().
64
+ *
65
* On Windows, `argv` and `envp` can't contain binary strings. They need
66
* to be valid UTF-8 in order to round-trip the WIN32 API, without being
67
* corrupted.
0 commit comments