Use shell to execute user_hardware via PATH

This commit is contained in:
Bill Somerville 2020-07-27 12:19:47 +01:00
parent b4bbc44d5b
commit a2ad0be85b
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
1 changed files with 1 additions and 1 deletions

View File

@ -7943,7 +7943,7 @@ void MainWindow::WSPR_scheduling ()
// to be anywhere in the paths specified in the PATH environment
// variable path list, and executable. Equivalent to typing
// user_hardware without any path at the shell prompt.
p3.start("user_hardware", QStringList {band});
p3.start("/bin/sh", QStringList {"-c", "user_hardware " + band});
#endif
// Produce a short tuneup signal