QProcess created in another app: Would they share the stack ?
-
Hello everyone,
When aQProcessis created in another application (QProcess()called w/o parent means it wouldnt be started as a child process, but as a parallel one, right?) would they share the stack? Do we need to take care withsigactionandSA_ONSTACK? -
Would they share the stack, when created as a child process (w. parent parameter:
QProcess(parent))? -
Hello everyone,
When aQProcessis created in another application (QProcess()called w/o parent means it wouldnt be started as a child process, but as a parallel one, right?) would they share the stack? Do we need to take care withsigactionandSA_ONSTACK? -
@QBst
Hello and welcome.No, they are separate processes, no "stack sharing".
QProcessjust runs an external process.@JonB said in QProcess created in another app: Would they share the stack ?:
No, they are separate processes, no "stack sharing".
Is that 100% clear? :)
parentparameter is to do with Qt's object-ownership hierarchy, nothing to do with sub-process parentage. Sub-process parent will be the Qt program. And still no kind of "stack sharing" :) -
Would they share the stack, when created as a child process (w. parent parameter:
QProcess(parent))?