Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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