Manual talk:BoxedCommand
Add topic| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
stdin
[edit]Is it possible to pipe a PHP string directly to command's standard input, without using temporary files?
Alexander Mashin talk 05:46, 14 October 2021 (UTC)
- Yes,
$command->stdin(...)should work. Legoktm (talk) 16:40, 14 October 2021 (UTC)
How set environment variables
[edit]I am new to MediaWiki and this extension, please be gentle :-)
I am using Mediawiki 1.39.4 and observes Errors in the log. Example:
[exec] Error running /bin/bash '.../mediawiki/vendor/wikimedia/shellbox/src/Command/limit.sh' ... ... python3: error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
The webserver I am using have libraries installed in a non-standard path. How do I set environment variables like `LD_LIBRARY_PATH` for my MediaWiki installation so ShellBox/BoxedCommand can find the libraries? Cheellaz (talk) 09:28, 18 September 2023 (UTC)