New111
11/27/2019, 7:33 AMArtyom Degtyarev [JB]
11/27/2019, 7:51 AMplatform.posix.kill
?New111
11/27/2019, 12:10 PMNew111
11/27/2019, 12:11 PMArtyom Degtyarev [JB]
11/27/2019, 12:11 PMNew111
11/27/2019, 12:13 PMplatform.posix.kill
a java call ?New111
11/27/2019, 12:15 PMplatform.posix.kill
🙄Artyom Degtyarev [JB]
11/27/2019, 12:21 PMimport platform.posix.kill
or import platform.posix.*
, if other contents of this platform library is desired.Artyom Degtyarev [JB]
11/27/2019, 12:25 PMEvan R.
11/27/2019, 2:41 PMplatform.posix.kill
is kotlin’s reference to the original kill()
function from UNIX signal.h
. Basically, if you want to find functions like this look for C libraries, not Java libraries.
Here’s the documentation for the kill command: https://linux.die.net/man/3/kill
Here’s a sample from the GNU user manual: https://www.gnu.org/software/libc/manual/html_node/Kill-Example.html
Note that you likely want to use SIGTERM or SIGKILL if you want to stop a process.Evan R.
11/27/2019, 2:42 PMroot
or via the sudo
commandthymecypher
11/27/2019, 6:26 PMthymecypher
11/27/2019, 6:27 PMnapperley
11/29/2019, 12:11 AMnapperley
11/29/2019, 12:13 AMNew111
11/29/2019, 8:54 AM