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

forms - Secure PHP File Upload Script -

PHP: Exploding array elements -

c# - Regex Problems, extracting data to groups -