borune,
если открыть справку по классу, то там можно найти следующее )))
Цитата
void QProcess::setArguments(const QStringList & arguments)
Set the arguments to pass to the called program when starting the process. That function must be call before open()
Цитата
void QProcess::start(const QString & program, const QStringList & arguments, OpenMode mode = ReadWrite)
Starts the given program in a new process, if none is already running, passing the command line arguments in arguments. The OpenMode is set to mode.
The QProcess object will immediately enter the Starting state. If the process starts successfully, QProcess will emit started(); otherwise, error() will be emitted. If the QProcess object is already running a process, a warning may be printed at the console, and the existing process will continue running.
Note: Processes are started asynchronously, which means the started() and error() signals may be delayed. Call waitForStarted() to make sure the process has started (or has failed to start) and those signals have been emitted.
Note: No further splitting of the arguments is performed.
Windows: Arguments that contain spaces are wrapped in quotes.
>>А как имитировать нажатие энтера по окончании ввода?
это не знаю, разве что попробовать писать в поток процесса. Я это не делал, надо разбираться