https://bugs.documentfoundation.org/show_bug.cgi?id=129713

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyMedium, easyHack,
                   |                            |skillCpp

--- Comment #15 from Mike Kaganski <[email protected]> ---
The secondary process gets the textual output from the primary process in
desktop/source/app/officeipcthread.cxx (it checks if
readStringFromPipe(aStreamPipe) != PROCESSING_DONE). Likely, it needs to check
if the strings *starts* with PROCESSING_DONE, and output the rest.

The primary process also writes the text output to the pipe in
desktop/source/app/officeipcthread.cxx, where it calls
aStreamPipe.write(PROCESSING_DONE, std::size(PROCESSING_DONE)). It is likely,
that the solution should check in the IpcThread::process, if
aCmdLineArgs->IsScriptCat(); and if so, it should make sure to request that the
output of the command be redirected to pRequest in the call of
ImplPostProcessDocumentsEvent (and further to
RequestHandler::ExecuteCmdLineRequests).

In the end, the return of the command must be concatenated and returned to the
secondary process using pipe.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to