Skip to content

Commit

Permalink
Merge #704
Browse files Browse the repository at this point in the history
704: Process: Don't use QProcess's argument list when setting arguments at… r=Saviq a=townsend2010

… start()

Fixes #703

Co-authored-by: Chris Townsend <[email protected]>
  • Loading branch information
2 people authored and Saviq committed Mar 29, 2019
1 parent 16793dd commit 3b27daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/backends/shared/linux/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mp::Process::Process(std::unique_ptr<mp::ProcessSpec>&& spec) : process_spec{std

void mp::Process::start(const QStringList& extra_arguments)
{
QProcess::start(program(), arguments() << extra_arguments);
QProcess::start(program(), process_spec->arguments() << extra_arguments);
}

bool mp::Process::run_and_return_status(const QStringList& extra_arguments, const int timeout)
Expand Down

0 comments on commit 3b27daf

Please sign in to comment.