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

Support pre input -i with % in Windows OS #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nhymxu
Copy link

@nhymxu nhymxu commented Aug 22, 2015

Example: $process->addPreInputCommand('-i', $example_images_dir."P1110%d.jpg");

Example:  $process->addPreInputCommand('-i', $example_images_dir."P1110%d.jpg");
@buggedcom
Copy link
Owner

Where is ===NXBYPASS=== being set?

@nhymxu
Copy link
Author

nhymxu commented Dec 30, 2015

@buggedcom: using in str_replace. Replace all % character to ===NXBYPASS===
after escapeshellarg, replace ===NXBYPASS=== back to %.
Because you can't run with escapeshellarg in Windows.

I tested and work well.

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