Skip to content

fix os.execute implementation#524

Merged
Frenzie merged 1 commit into
koreader:masterfrom
benoit-pierre:pr/fix_os.execute
Oct 12, 2024
Merged

fix os.execute implementation#524
Frenzie merged 1 commit into
koreader:masterfrom
benoit-pierre:pr/fix_os.execute

Conversation

@benoit-pierre

@benoit-pierre benoit-pierre commented Oct 12, 2024

Copy link
Copy Markdown
Member

Just forward the whole command to sh -c, so there's no need to muck around with escaping, and all KOReader's use-cases are supported (redirection, multiple commands, etc…).

Cf. koreader/koreader#12375 (comment), koreader/koreader#12384 & koreader/koreader#12613 (comment).


This change is Reviewable

Just forward the whole command to `sh -c`, so there's no need
to muck around with escaping, and all KOReader's use-cases are
supported (redirection, multiple commands, etc…).
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