QProcess .write()
Verfasst: 23. Oktober 2018 15:44
Hallo zusammen,
ich habe ein kleines Problem.
Bei proc.write(output) bekomme ich ein Syntaxfehler wenn ich eine Variable Aufrufe, weiß einer was da nicht passt?
QString output = "subst " + Laufwerk_CMC +": /" + Laufwerk_Datei
QProcess *eee = new QProcess;
proc.start("cmd.exe");
proc.write(output);
Grüße
ich habe ein kleines Problem.
Bei proc.write(output) bekomme ich ein Syntaxfehler wenn ich eine Variable Aufrufe, weiß einer was da nicht passt?
QString output = "subst " + Laufwerk_CMC +": /" + Laufwerk_Datei
QProcess *eee = new QProcess;
proc.start("cmd.exe");
proc.write(output);
Grüße