doc: clarify stdout/stderr arguments to callback
authorJames M Snell <jasnell@gmail.com>
Sat, 2 Apr 2016 05:23:16 +0000 (22:23 -0700)
committerMyles Borins <mborins@us.ibm.com>
Mon, 11 Apr 2016 16:54:15 +0000 (12:54 -0400)
commit56755de96eb4d02efa86ed6e88dd0aad158ca5b3
tree82a0af0d3f5b987637e7ecd413ac6846bdd0958b
parent73e3b7b9a8e01746edc1e7db8699fd435ea292d6
doc: clarify stdout/stderr arguments to callback

Clarify that the arguments to child_process.execFile
and child_process.exec callback can be Buffer or strings.

Fixes: https://github.com/nodejs/node/issues/3389
PR-URL: https://github.com/nodejs/node/pull/6015
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
doc/api/child_process.markdown