Skip to content
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

Handle space in Path when restarting #15

Closed
wants to merge 1 commit into from

Conversation

NikRimington
Copy link

Wrap $dir arg in ' so if there is a space it doesn't error

Wrap $dir arg in ' so if there is a space it doesn't error
@mattou07
Copy link
Owner

mattou07 commented Mar 6, 2021

Thanks for the PR!

There is a general issue where if the path to the file has spaces it will error. I presume you get an error when its trying to print out the message in the console?

I just need to check this works on my end and I will merge it into a separate branch. I can then address the issue separately while keeping your contribution :)!

@mattou07
Copy link
Owner

Made a bit of progress on this where the script will make an IIS website regardless if there are spaces in the path. I just need to test it more myself and with the Moriyama team.

If you have time feel free to provide some feedback on the new PR: #18

I will now close this issue as the Write-Host areas show up properly in the terminal for my PR.

@mattou07 mattou07 closed this Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants