Skip to content

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

Open
nhymxu wants to merge 1 commit into
buggedcom:masterfrom
nhymxu:patch-1
Open

Support pre input -i with % in Windows OS#64
nhymxu wants to merge 1 commit into
buggedcom:masterfrom
nhymxu:patch-1

Conversation

@nhymxu

@nhymxu nhymxu commented Aug 22, 2015

Copy link
Copy Markdown

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

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

Copy link
Copy Markdown
Owner

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

@nhymxu

nhymxu commented Dec 30, 2015

Copy link
Copy Markdown
Author

@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