Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

support dumb-init #200

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
support dumb-init
timfeirg committed Feb 14, 2019
commit e873a5a8754bddc7b6bb600acad7e8ae71dd9ad9
2 changes: 2 additions & 0 deletions pyppeteer/launcher.py
Original file line number Diff line number Diff line change
@@ -125,6 +125,8 @@ def __init__(self, options: Dict[str, Any] = None, # noqa: C901
self.chromeExecutable = str(chromium_executable())

self.cmd = [self.chromeExecutable] + self.chromeArguments
if options.get('dumb_init', False):
self.cmd.insert(0, 'dumb-init')

def _cleanup_tmp_user_data_dir(self) -> None:
for retry in range(100):