Re: [Maya-Python] Subprocess & PyInstaller

2021-10-09 Thread Chris Granados- Xian
About the QThread, try emiting a custom Signal (Signals are threadsafe) from your secondary thread when whatever process finishes running. Then connect to it from your main thread and, for example, before closing the main thread you could check if a secondary thread is still running and proceed acc

Re: [Maya-Python] Subprocess & PyInstaller

2021-10-09 Thread Benjam901
*I think that is saying that your python QThread object reference is being destroyed, before the underlying system thread has finished. Are you keeping a reference to it while it is still running either by holding the python object, or by having it parented to a Qt object?* Yes, I keep a refere

Re: [Maya-Python] Subprocess & PyInstaller

2021-09-30 Thread Chad Vernon
I think I had similar issues on Windows. I used this to sort them out: https://github.com/pyinstaller/pyinstaller/wiki/Recipe-subprocess It's written for Windows but maybe you can adapt it to work for Mac On Wednesday, September 29, 2021 at 2:34:31 PM UTC-7 justin...@gmail.com wrote: > On Thu,

Re: [Maya-Python] Subprocess & PyInstaller

2021-09-29 Thread Justin Israel
On Thu, Sep 30, 2021 at 9:13 AM Benjam901 wrote: > - I am unsure of the major differences but yes I need it compiled to a > .app instead of a .exe > - The crash itself I suspect to be a segfault, previously for unknown > reasons my IDE was crashing with a SIGABRT error. I've seen this kind of c

Re: [Maya-Python] Subprocess & PyInstaller

2021-09-29 Thread Benjam901
- I am unsure of the major differences but yes I need it compiled to a .app instead of a .exe - The crash itself I suspect to be a segfault, previously for unknown reasons my IDE was crashing with a SIGABRT error. - The path to ffmpeg is absolute and uses QStandardPaths to locate the documents f

Re: [Maya-Python] Subprocess & PyInstaller

2021-09-29 Thread Justin Israel
On Thu, Sep 30, 2021 at 4:34 AM Benjam901 wrote: > Hello all, > > It is time to finally get a project out as open source but I am having a > serious roadblock issue with subprocess. > > - In the code I create a new QThread for the subprocess function to run on. > - Once the QThread is running I u