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
2 changes: 2 additions & 0 deletions pyppeteer/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down