GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Exit code is null when using headless chrome · Issue #16399 · nodejs/node Closed Labels questionIssues asking questions about Node.js.wrong repoIssues that should be opened in another repository. Description
I am getting a null exit code after launching and killing a child process. This probably should never happen? It's happening when I launch chrome in headless mode: When using the 'chrome-launcher' module, everything works normally: const cl = require('chrome-launcher'); cl.launch({ startingUrl: `http://localhost:${port}/suman_testing?data=${testData}`, chromeFlags: [] }) .then(c => { // c.launcher.chrome is a child process instance c.launcher.chrome.once('exit', function(code){ // exit code is an integer }); }); but when I use headless mode: const cl = require('chrome-launcher'); cl.launch({ startingUrl: `http://localhost:${port}/suman_testing?data=${testData}`, chromeFlags: ['--headless'] // <<< use headless mode <<< }) .then(c => { c.launcher.chrome.once('exit', function(code){ // exit code is null !! <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< }); }); is this expected? I am assuming this should never happen. Activity
MetadataMetadataAssigneesLabelsquestionIssues asking questions about Node.js.wrong repoIssues that should be opened in another repository. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |