Skip to content

Conversation

@annitya
Copy link

@annitya annitya commented Oct 22, 2013

Fixes EZP-21800. Code might not be perfect, but it should demonstrate what the issue entails.

@jeromegamez
Copy link
Contributor

I haven't tried it myself, but do you know if this will still work on Legacy (only) installs?

@annitya
Copy link
Author

annitya commented Oct 22, 2013

I have verified that the global "input" does not exist for legacy, so the executable should be set correctly. The only thing that worries me is that I had to remove escapeshellarg for the siteaccess-parameter. I tried to run the script the legacy-way and it did spawn it's threads as usual.

If you are considering a merge, I can ask if a colleague of mine can test it on a legacy-only install.

@annitya
Copy link
Author

annitya commented Oct 22, 2013

The use-statement would have caused problems, so I removed it.

@andrerom
Copy link
Contributor

This looks pretty hackish, but I don't have suggestions for how to deal with forking in legacy scripts in a better way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants