On Sun, Jul 1, 2012 at 10:45 AM, Phil <[email protected]> wrote: > On 01/07/12 17:20, Orgad and Raizel Shaneh wrote: > >> >> You probably want also standard error. >> QByteArray array = myProcess.**readAllStandardOutput() + >> myProcess.**readAllStandardError() (note that the outputs will NOT be >> interleaved). >> >> > Thanks Orgad, > > I must need something else as well because the size of QBtyeArray is > always zero. > > I was looking for a string or a string list the contains the output of the > script. > > As an example, say I executed "ls" then I'd like a string to contain the > file names that ls found. > > -- > Regards, > Phil >
Did you call myProcess.start()? - Orgad
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
