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

Windows compatibility #1

Merged
merged 4 commits into from
Oct 15, 2015

Conversation

dana-ross
Copy link
Contributor

Windows doesn't recognize the shebang at the top of wp-phptidy.php, so I've added an explicit OS check and I prepend PHP to the start of the command if it's Windows_NT. It also reports an error if the command fails (only on Windows, but I guess this could be rewritten to apply to both).

frozzare added a commit that referenced this pull request Oct 15, 2015
@frozzare frozzare merged commit c65622d into frozzare:master Oct 15, 2015
@frozzare
Copy link
Owner

Thanks. Looks good. Will not test this since I don't use Windows for PHP development.

@dana-ross dana-ross deleted the feature/windows-exec-php branch October 15, 2015 06:05
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