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 PowerShell and cmd shell cannot run post-write hook scripts #121

Closed
mjordan opened this issue Jan 14, 2016 · 5 comments
Closed

Windows PowerShell and cmd shell cannot run post-write hook scripts #121

mjordan opened this issue Jan 14, 2016 · 5 comments
Assignees
Labels
Milestone

Comments

@mjordan
Copy link
Collaborator

mjordan commented Jan 14, 2016

When running MIK under the Windows cmd shell or PowerShell, post-write hook scripts fail and produce the error Fatal Error Unable to reattach to base address, at least on Windows 7 Enterprise SP1 (64 bit). This does not happen when running MIK in Git Bash.

I will open an issue with cocur/background-process, the component used to run these jobs.

@mjordan
Copy link
Collaborator Author

mjordan commented Jan 14, 2016

Here's the upstream issue: cocur/background-process#15

@mjordan
Copy link
Collaborator Author

mjordan commented Jan 15, 2016

Commenting out opcache.enable_cli=1 in php.ini resolves this issue.

@mjordan mjordan closed this as completed Jan 15, 2016
@MarcusBarnes
Copy link
Owner

@mjordan 👍

@mjordan
Copy link
Collaborator Author

mjordan commented Feb 5, 2016

I'd like to repoen this issue and suggest that we set opcach.enabled_cli to 0 using a solution similar to the one we have used here to set the default timezone. Using a separate php.ini file on Windows is proving to be problematic.

@mjordan mjordan reopened this Feb 5, 2016
@mjordan mjordan self-assigned this Feb 5, 2016
@mjordan mjordan added this to the 0.9 milestone Feb 5, 2016
mjordan added a commit that referenced this issue Feb 6, 2016
@mjordan
Copy link
Collaborator Author

mjordan commented Feb 7, 2016

Tested on Linux with no side effects so merging into master.

@mjordan mjordan closed this as completed in 3242d6c Feb 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants