Skip to content

Zombies left behind #2

@ppietikainen

Description

@ppietikainen

Using a script.sh (so a window manager is started so fullscreen works) script.sh zombies get left behind. subprocess.call() or Popen().communicate() does the right thing i.e.

--- a/default.py
+++ b/default.py
@@ -148,10 +148,10 @@ def showSite(url, stopPlayback, kiosk, userAgent):
path = "/usr/bin/google-chrome"
if useCustomPath and os.path.exists(customPath):
fullUrl = getFullPath(customPath, url, kiosk, userAgent)

  •        subprocess.Popen(fullUrl, shell=True)
    
  •        subprocess.Popen(fullUrl, shell=True).communicate()
     elif os.path.exists(path):
         fullUrl = getFullPath(path, url, kiosk, userAgent)
    
  •        subprocess.Popen(fullUrl, shell=True)
    
  •        subprocess.Popen(fullUrl, shell=True).communicate()
     else:
    

probably wouldn't hurt the other platforms either...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions