Skip to content

Instantly share code, notes, and snippets.

@alundiak
Last active January 30, 2016 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alundiak/10299974 to your computer and use it in GitHub Desktop.
Save alundiak/10299974 to your computer and use it in GitHub Desktop.
exec: {
user: {
cmd: 'echo %USERPROFILE%',
stdout: false,
callback: function(varX, stdout){
// trim used to get rid of Windows: \n. For some reason "grunt.util.normalizelf(stdout)" doesn't work
grunt.config.set("userProfileFolder", stdout.trim());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment