update docs

This commit is contained in:
Martin Rotter 2021-02-03 10:57:50 +01:00
parent f26fb827e0
commit 9562c5f9ed
2 changed files with 3 additions and 1 deletions

View File

@ -67,7 +67,7 @@ Interpreter must be provided in all cases, arguments do not have to be. For exam
| Command | Explanation |
|---------|-------------|
| `bash#-c "curl 'https://github.com/martinrotter.atom'"` | Downloads ATOM feed file with Bash and Curl. |
| `Powershell#"Invoke-WebRequest 'https://github.com/martinrotter.atom' | Select-Object -ExpandProperty Content"` | Downloads ATOM feed file with Powershell. |
| `Powershell#"Invoke-WebRequest 'https://github.com/martinrotter.atom' \| Select-Object -ExpandProperty Content"` | Downloads ATOM feed file with Powershell. |
| `php#tweeper.php -v 0 https://twitter.com/NSACareers` | Scrape Twitter RSS feed file with [Tweeper](https://git.ao2.it/tweeper.git). Tweeper is utility which is able to produce RSS feed from Twitter and other similar social platforms. |
<img src="images/scrape-source.png" width="50%">

View File

@ -29,6 +29,7 @@
#include <QJsonObject>
#include <QPointer>
#include <QProcess>
#include <QProcessEnvironment>
#include <QTextCodec>
#include <QVariant>
#include <QXmlStreamReader>
@ -677,6 +678,7 @@ QString StandardFeed::runScriptProcess(const QPair<QString, QString>& cmd_args,
process.setInputChannelMode(QProcess::InputChannelMode::ManagedInputChannel);
}
process.setProcessEnvironment(QProcessEnvironment::systemEnvironment());
process.setProcessChannelMode(QProcess::ProcessChannelMode::SeparateChannels);
process.setWorkingDirectory(working_directory);
process.setProgram(cmd_args.first);