SharpeRAD / Cake.Powershell

Powershell addin for Cake
http://cakebuild.net
MIT License
83 stars 36 forks source link

StartPowershellScript does not work with paths, that include spaces #77

Closed janniksam closed 5 years ago

janniksam commented 5 years ago

It seems like the addin has problems with spaces inside the path:

Example:


StartPowershellScript("C:/Program Files/dev/Prepare.ps1");

// OR

var filepath = new FilePath("C:/Program Files/dev/Prepare.ps1");
StartPowershellScript(filepath.FullPath);
janniksam commented 5 years ago

My bad. Of course we have to use StartPowershellFile….