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

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -