Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Get stdout of a running process
Post: Get stdout of a running process

Hi, I'm working on a program that launch multiple subprocess in background. Those processes return data continuously so I piped stdout to a file, to retrieve it later while running, with a command li...
yok0 General Coding Help 0 3,031 Aug-20-2020, 10:12 AM
    Thread: Shutil.which return None after app bundled with fsb
Post: RE: Shutil.which return None after app bundled wit...

Yup, in macos it seems that with an .app executable even if it's get executed from /Users/foo/MyApp.app or /Applications/MyApp.app, and by a regular user (not root), the working dir become / and the &...
yok0 GUI 3 2,704 Jul-27-2020, 07:53 AM
    Thread: Shutil.which return None after app bundled with fsb
Post: RE: Shutil.which return None after app bundled wit...

Reply to myself, shutil can't find the app because the $PATH variable change with the executable. The working directory isn't /Users/bar anymore
yok0 GUI 3 2,704 Jul-26-2020, 04:35 PM
    Thread: Shutil.which return None after app bundled with fsb
Post: Shutil.which return None after app bundled with fs...

Hi, I'm working on a small gui project based on pyQT5. The dev wen't fine until I bundled my app with fbs. In my code I have a shutil.which(someApp) which gets me the path of an executable. I do that...
yok0 GUI 3 2,704 Jul-25-2020, 04:09 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020