You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way PyVirtualDisplay works now, the virtual X server is created on the same process group as the Python script.
One of the effects of this is that when sending, for example, SIGINT to the Python script the virtual X server also receives it and exits before the script can do any cleanup.
Adding start_new_session=True to the subprocess.Popen in AbstractDisplay would easily solve this and possibly other subtle edge cases, as it makes a lot of sense for the X server to be on it's own session.
The text was updated successfully, but these errors were encountered:
The way PyVirtualDisplay works now, the virtual X server is created on the same process group as the Python script.
One of the effects of this is that when sending, for example, SIGINT to the Python script the virtual X server also receives it and exits before the script can do any cleanup.
Adding start_new_session=True to the subprocess.Popen in AbstractDisplay would easily solve this and possibly other subtle edge cases, as it makes a lot of sense for the X server to be on it's own session.
The text was updated successfully, but these errors were encountered: