From 72c6f2840734c52cabd308508b10614db3a2900c Mon Sep 17 00:00:00 2001 From: openbuilds-engineer Date: Thu, 6 Jun 2019 21:17:44 +0200 Subject: [PATCH] v1.0.177 test --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 44a43c8..a3e06b2 100644 --- a/index.js +++ b/index.js @@ -2569,13 +2569,14 @@ function isJson(item) { function startChrome(callback) { if (status.driver.operatingsystem == 'rpi') { + console.log('Starting chrome: Phase 1: /bin/bash'); var cp = require('child_process'); var terminal = cp.spawn('bash'); var chrome = {}; terminal.on('exit', function(code) { console.log('child process exited with code ' + code); - console.log('Starting chrome'); + console.log('Starting chrome: Phase 2: /usr/bin/chromium-browser'); chrome = cp.spawn('/usr/bin/chromium-browser', [ '--app=http://127.0.0.1:3000' ]);