c++ - Forward stdout to file in Qt Application -


i have qt application starts several qprocess children , calls qprocess::setchannelmode(qprocess::forwardedchannels). forward stdout of application (now containing stdout of children) log file, location of determined application, means can't modify logging write specified file, because won't work children, , can't run app | tee logfile, because don't know tee to.

i prefer - if exists (and haven't been able find if does) - method via qt, other solutions acceptable.

isn't qprocess::setstandardoutputfile() ?

sorry never done myself


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

asp.net mvc 3 - Unexpected "foreach" keyword after "@" character -