-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stdout is empty on Git log command #439
Comments
@oric01 do other git commands (like
Just want to verify that the git log command really is going to stdout for you and not stderr. |
@nfischer It's strange... now when i run shelljs, git command is unknown... while it's still running on git bash. Previously the returned code was 0 with just stdout empty (on git log) and I also finally noticed that shelljs was running cmd.exe so I was waiting for #330 to be fixed, but my problem still remain. |
It has to be part of your path to use it. Exec spawns a new |
Is there a way that shelljs use bash instead of cmd.exe ? |
Yes, you need to use the |
@oric01 I'm going to close this, since it looks like it was an issue with |
I tested with shell option but it's a pain to configure on windows... |
Using shelljs to stdout Git log does not work (in grunt file currently).
Works, console stdout :
stdout: 'v4.4.0\r\n'
Does not works, Works, console stdout :
stdout: ''
While this Git log works in Git bash :
The text was updated successfully, but these errors were encountered: