Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Docs 0.4 child process #1794

Closed
wants to merge 1 commit into from

2 participants

@polotek

Minor update to docs to call out back compat issue in child processes. See this pull request. #1789

@koichik koichik closed this in 3fc01d9
@koichik
Owner

Thanks!

@piscisaureus piscisaureus referenced this pull request from a commit in piscisaureus/node
@polotek polotek docs: note about empty environment in child processes
Fixes #1794.
be24eba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 29, 2011
  1. @polotek
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 doc/api/child_processes.markdown
View
4 doc/api/child_processes.markdown
@@ -137,6 +137,10 @@ Example of checking for failed exec:
}
});
+Note that if spawn receives an empty options object, it will result in
+spawning the process with an empty environment rather than using
+`process.env`. This due to backwards compatibility issues with a deprecated
+API.
See also: `child_process.exec()`
Something went wrong with that request. Please try again.