Skip to content

Commit

Permalink
fix subprocess remaining
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Nov 23, 2023
1 parent 4b9cc76 commit 7be71bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screenshotter/puppeteer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def take_screenshot(url, width=1920, height=1080, waitfor='body', wait_selectors

# We send sentry informations and version : when we use screamshotter as a package, informations are in settings only
with NamedTemporaryFile(suffix='.png') as screenshot_file:
command = subprocess.run([
command = subprocess.Popen([
os.getenv('NODE_BIN_PATH', 'node'),
app_settings.PUPPETEER_JAVASCRIPT_FILEPATH,
'--version',
Expand Down

0 comments on commit 7be71bd

Please sign in to comment.