You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get nothing, but require('child_process').exec('git summary --line') will get the right stdout.
varexec=require('child_process').execexec('git summary',function(err,stdout){//nothing in here works})exec('git summary --line',function(err,stdout){//works fineassert(stdout)})
When I try use node to get the stdout from git summary, I find this strange thing, do not know why.
I hope it can be fixed.
Thanks.
The text was updated successfully, but these errors were encountered:
get nothing, but
require('child_process').exec('git summary --line')
will get the right stdout.When I try use node to get the stdout from
git summary
, I find this strange thing, do not know why.I hope it can be fixed.
Thanks.
The text was updated successfully, but these errors were encountered: