<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">12.0.9</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Ubuntu</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">20.04</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<ul dir="auto">
<li></li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Exit status of a process when killed by a signal should <em>not</em> be 0, example:<br>
(sleep 5 ; killall nodejs ) &amp; nodejs ; echo exitstatus: $?<br>
[1]+  Done                    ( sleep 5; killall nodejs )<br>
Terminated<br>
exitstatus: 143</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Exit status of many Electron versions when killed by a signal should is erroneously 0, example:<br>
(sleep 5 ; killall electron ) &amp; node_modules/electron/dist/electron ; echo exitstatus: $?<br>
[1]+  Done                    ( sleep 5; killall electron )<br>
exitstatus: 0</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">I disagree with the following statement:<br>
"I agree to follow the Code of Conduct that this project adheres to. *"<br>
IMHO, forcing bug reporters to click this is discriminatory and unrealistic to abide to by non-lawyers.</p>
<p dir="auto">I disagree with the following statement:<br>
"I have searched the issue tracker for a feature request that matches the one I want to file, without success. *"<br>
IMHO, forcing bug reporters to click this is counterproductive, issues can provide valuable information even if searches have not been performed or duplicate exists.</p>
<p dir="auto">There is a previous issues for this bug report here, but it's closed: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="477380433" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/19650" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/19650/hovercard" href="https://github.com/electron/electron/issues/19650">#19650</a></p>
<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">15.3.1</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">window 10</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto">none</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">5 pages in total, print with <code class="notranslate">pageRanges: [{from: 0, to: 2}]</code>, print first three pages.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">it won't do print task. if i select Microsft Pdf Printer,  the pdf file created is broken, can't be opend.<br>
if i remove the pageRanges key from options, it works.</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto"><em>No response</em></p>