Top "Qprocess" questions

The QProcess class, part of the Qt framework, provides a way to start external programs and to communicate with them.

Start a process using QProcess

I'm trying to start Microsoft word using QProcess as following: QString program = "WINWORD.EXE"; process->start(program); but nothing …

qt qprocess
read QProcess output to string

I have a code that uses QProcess like this. int main(int argc, char *argv[]) { int status=0; QProcess pingProcess; QString …

c++ qt stdout qstring qprocess
How to get STDOUT from a QProcess?

I thought I was going to get the output from a QProcess using the following code: // Start the process process.…

qt process stdout qprocess
Run ffmpeg on Terminal MacOS

I'm rather new to MacOS and I cannot find it easy to working with Terminal to get ffmpeg run properly …

macos qt ffmpeg terminal qprocess
How to execute complex linux commands in Qt?

I want to restart the computer by running a command in linux using QProcess. I have hard-coded my root password …

c++ linux qt shell qprocess
how to get output system() command in Qt?

I use system() command in Qt. and I want to get output and show it to users. my command is: …

qt system qprocess
How to check if a program is running by its name with Qt (C++)

How to check if a program is running, by its name, with Qt (C++). Will QProcess::pid do the job? …

c++ qt process qt-creator qprocess
Qt Calling External Python Script

I am trying to write a GUI wrapper for one of my command line tools written in Python. It was …

c++ qt qt4 qprocess
QProcess and shell : Destroyed while process is still running

I want to launch a shell script with Qt. QProcess process; process.start(commandLine, QStringList() << confFile); process.waitForFinished(); …

qt shell qt-creator sh qprocess
Piping (or command chaining) with QProcess

I'm using Qt and bash over it, need to execute something like: bash: cat file | grep string in Qt: QString …

c++ qt shell qprocess chain