Skip to content

Commit 38ac8eb

Browse files
committed
documentation update
1 parent 598d3e8 commit 38ac8eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CREDITS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ http://doc.qt.io/qt-5/qwebenginepage.html#fullScreenRequested
8989
http://doc.qt.io/qt-5/qwebenginepage.html#windowCloseRequested
9090
http://doc.qt.io/qt-5/qtwebengine-webenginewidgets-simplebrowser-example.html#adding-context-menu-items
9191
http://doc.qt.io/qt-5/qwebenginefullscreenrequest.html
92+
http://doc.qt.io/qt-5/qprocess.html#terminate
9293

9394
https://wiki.qt.io/Qt_Coding_Style
9495
https://wiki.qt.io/Open_Web_Page_in_QWebView
@@ -159,7 +160,7 @@ https://perldoc.perl.org/File/Path.html
159160
https://metacpan.org/pod/File::Copy::Recursive
160161
https://metacpan.org/pod/Module::ScanDeps
161162

162-
https://www.perl.com/pub/2002/05/14/mod_perl.html
163+
https://www.perl.com/article/37/2013/8/18/Catch-and-Handle-Signals-in-Perl/
163164

164165
https://www.perlmonks.org/bare/?node_id=768448 "Permanently sort a hash"
165166
https://www.perlmonks.org/?node_id=27443 "Checking to see if a particular Module is installed"

doc/SETTINGS.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The ``pebSettings`` JavaScript object may have the following properties:
5757
``String`` displayed in a JavaScript Confirm popup box when the close button is pressed, but unsaved data in local HTML forms is detected. If no ``closeConfirmation`` object property is found, PEB exits immediately.
5858

5959
## Perl Scripts API
60-
Every Perl script run by PEB has a JavaScript settings object with an arbitrary name and fixed object properties. The name of the JavaScript settings object with a ``.script`` extension forms pseudo filename used to start the Perl script.
60+
Every Perl script run by PEB has a JavaScript settings object with an arbitrary name and fixed object properties. The name of the JavaScript settings object with a ``.script`` extension forms settings pseudo filename used to start the Perl script.
6161

6262
There are three methods to start a local Perl script:
6363

@@ -138,8 +138,7 @@ Please note that interactive Perl scripts are not supported by the Windows build
138138

139139
PEB interactive scripts should have ``$|=1;`` among their first lines to disable the built-in buffering of the Perl interpreter, which prevents any output before the script has ended.
140140

141-
When PEB is closing, it sends the ``SIGTERM`` signal to all interactive scripts to prevent them from becoming zombie processes. All interactive scripts must exit in 3 seconds after the ``SIGTERM`` signal is given by PEB.
142-
All unresponsive scripts are killed before PEB exits. The ``SIGTERM`` signal may be handled by any interactive script for a graceful shutdown using the following code:
141+
When PEB is closing, it sends the ``SIGTERM`` signal to all interactive scripts to prevent them from becoming zombie processes. All interactive scripts must exit in 3 seconds after the ``SIGTERM`` signal is given by PEB. All unresponsive scripts are killed before PEB exits. The ``SIGTERM`` signal may be handled by any interactive script for a graceful shutdown using the following code:
143142

144143
```perl
145144
$SIG{TERM} = sub {

0 commit comments

Comments
 (0)