i'm trying run hardcoded base64 .exe file in detached process.
what i'm trying is:
void read(qstring file){ qprocess process; process.startdetached(file); } int main(int argc, char *argv[]) { qcoreapplication a(argc, argv); qbytearray exe = qbytearray::frombase64("tvqqaamaaaaeaaaa...."); //base64 of .exe file qstring s = exe.data(); qdebug() << s ; read(s); return a.exec(); } not working, debug shows : "mz?"
Comments
Post a Comment