Commit 28f6de61 authored by Robert Loehning's avatar Robert Loehning
Browse files

Fakevim: Using existing object

parent e6497f61
......@@ -3038,7 +3038,7 @@ bool FakeVimHandler::Private::handleExBangCommand(const QString &line) // :!
QString command = cmd.mid(1).trimmed();
QString text = selectedText();
QProcess proc;
proc.start(cmd.mid(1));
proc.start(command);
proc.waitForStarted();
proc.write(text.toUtf8());
proc.closeWriteChannel();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment