Ylian Saint-Hilaire
7adf0dddd4
Updated headers.
2022-02-04 14:43:55 -08:00
Bryan Roe
75a0ae9817
Fixed issue, where if child_process type is set to TERM, and environment block is specified without TERM set, TERM doesn't get set.
2021-08-10 13:53:17 -07:00
Bryan Roe
55f0f91587
Updated Garbage Handling
2021-02-17 01:00:21 -08:00
Bryan Roe
ebf06898b2
1. Fixed valgrind issue
...
2. Updated child_process, to now have back-parent pointer on completion
2021-02-16 21:59:48 -08:00
Bryan Roe
9d2fe9b2b0
Fixed edge case bug where childprocess.waitExit() called during promise.waitExit() would cause event loop to prematurely exit.
2021-02-15 22:57:46 -08:00
Bryan Roe
e5418181c3
1. Fixed bug with process.cwd() on windows when the cwd is a root level folder
...
2. Added process.chdir()
3. Updated child_process._execve() to use process.env if not specified
4. Updated service manager to work better with docker container
2021-02-10 20:25:46 -08:00
Bryan Roe
c3872d6ec8
1. Fixed execv(e)
...
2. Fixed service.restart() for OpenRC
2021-01-29 10:13:37 -08:00
Bryan Roe
3e26a0996f
fixed compiler warnings
2021-01-18 11:02:41 -08:00
Bryan Roe
a937cea031
Updated child_process._execve() to use wide version on windows
2021-01-16 00:58:11 -08:00
Bryan Roe
78507ed66e
1. Updated self-update logging to include current commit hash value
...
2. Updated child_process.waitExit() to throw an exception on empty set condition
3. Updated ILibChain_Continue() to exit while() loop on empty set
4. Updated agent-installer to better handle error conditions for updatervalue and meshservicename
2021-01-13 11:13:37 -08:00
Bryan Roe
6e85f4d6bc
removed debug messages
2020-12-03 18:23:58 -08:00
Bryan Roe
fa4b217943
Fixed memory leak that occurs if agent is shutdown while spawned processes are still open.
2020-12-03 18:20:11 -08:00
Bryan Roe
0b835a6c82
1. Fixed minor memory leaks
...
2. Updated child_process.waitExit() to throw an exception if it's aborted
2020-12-03 17:11:50 -08:00
Bryan Roe
326d5908e0
Added max length guard
2020-11-13 00:47:03 -08:00
Bryan Roe
149038a657
Fixed compiler warning
2020-11-02 10:11:40 -08:00
Bryan Roe
dbb52e81d8
Updated console mode self-updater
2020-10-29 22:00:12 -07:00
Bryan Roe
a2892996fb
IOActive update for size_t vs int for buffer lengths
2020-10-16 00:48:34 -07:00
Bryan Roe
10a9e7226e
1. Added support for UTF8 wnvironment variables for window's child_process
...
2. Updated message-box and toaster to support UTF8 on Windows
2020-06-09 19:37:37 -07:00
Bryan Roe
51a3bc5384
1. Improved clipboard on linux if xclip is installed
...
2. Fixed compiler warnings
2020-06-03 15:54:09 -07:00
Bryan Roe
e9764045a4
Fixed issue caused by Signal Listener being at top of chain, so it could get emitted before a pipe read
2020-06-02 03:43:20 -07:00
Bryan Roe
54628594f1
Update signal handler for macOS
2020-06-02 02:57:28 -07:00
Bryan Roe
537e4404c6
Integrated SIGCHLD support with Linux child_process
2020-06-01 22:13:00 -07:00
Bryan Roe
3824ef638c
Updated project files, and fixed compiler warnings
2020-05-28 00:54:30 -07:00
Bryan Roe
a7b30fb729
Updated metadata
2020-05-22 12:18:46 -07:00
Bryan Roe
32935e0102
Updated metadata handling
2020-05-22 00:27:01 -07:00
Bryan Roe
5e28a53736
Fixed array that was too small
2020-05-16 03:26:04 -07:00
Bryan Roe
97ad48f2f2
1. Added ILibChain_WriteEx()
...
2. Updated ILibChain_Continue() on windows to take an optional list of HANDLE**
3. Updated net.socket IPC on Windows to use ILibChain_ReadEx and ILibChain_WriteEx
4. Fixed child_process.waitExit() on windows to pass only the wait handles for the process
5. Added GetWaitHandles() to ILibProcessPipe
2020-05-15 17:25:49 -07:00
Bryan Roe
dd0cd1af85
Fixed timeout, for child_process.waitExit()
2020-05-07 22:19:49 -07:00
Bryan Roe
9668b8d77d
Update to use new threading model for windows
2020-05-07 10:29:49 -07:00
Bryan Roe
c2486d9180
1. added missing return
...
2. Fixed error with pushing string from filewatcher
2020-05-02 10:02:49 -07:00
Bryan Roe
1db2b400d1
Fixed dispatch loop that can happen on process exit
2020-04-26 13:03:48 -07:00
Bryan Roe
19508fa79e
1. Updated os.Name and os.name() to fetch Windows name from older versions of Windows
...
2. Fixed compiler warning
2020-04-26 09:57:43 -07:00
Bryan Roe
3843d0173d
1. Added NULL reference check
...
2. Removed suspend/resume duktape call
2020-04-23 19:53:57 -07:00
Bryan Roe
0c6db0b2a6
1. Added additional memory check helpers
...
2. Updated Process exit detection to check apc flags
2020-04-19 15:18:52 -07:00
Bryan Roe
32592bd622
1. Updated environment variables, so that string values are coerced
...
2. Added ability to specify termios struct values via environment variables
2020-02-04 15:23:52 -08:00
Bryan Roe
9deab670d3
Removed debug message
2020-01-28 15:05:45 -08:00
Bryan Roe
3c7d5effb2
1. Added pty and tcsetsize to child_process
...
2. Added ILibProcessPipe_Process_GetPTY to ILibProcessPipe
2020-01-27 17:08:45 -08:00
Bryan Roe
8356cbf190
Added missing #ifdef around Windows Specific fixes
2019-12-05 10:56:13 -08:00
Bryan Roe
37acfa64f0
Fixed windows race condition between garbage collecting spawned process and exit handler, if the memory was reclaimed at just the right time
2019-11-28 09:57:04 -08:00
Bryan Roe
661c703230
Updated behavior, so processes spawned as detached, will not try to kill process in the finalizer
2019-10-18 17:38:47 -07:00
Bryan Roe
72db242dee
Added ability to end stdin on child_process spawned process
2019-09-06 21:41:48 -07:00
Bryan Roe
66273f8950
1. Updated waitExit() for windows to support a timeout
...
2. Updated ProcessPipe for Windows, to disable inheritance on detach
3. Updated service-manager to support restart on self for windows
2019-08-07 15:23:13 -07:00
Bryan Roe
3efdc27478
1. Updated so that APCs are used for thread dispatching for Read/Exit on Windows
...
2. Updated to add support for child_process.waitExit() on Windows.
2019-07-23 16:16:53 -07:00
Bryan Roe
f15c11c845
1. Updated MacOS, so detached child process uses fork instead of vfork
...
2. Updated detached to be a bitmask on the type
3. Updated MacOS message-box cleanup
2019-06-04 13:06:17 -07:00
Bryan Roe
134f34d9cf
1. added 'ILibChain_IsLinkAlive' macro
...
2. incremental update for macos message-box
2019-05-24 15:11:27 -07:00
Bryan Roe
8ac2e127ef
Fixed compiler warnings
2019-05-16 15:11:10 -07:00
Bryan Roe
e0e52bbb16
Added ability to specify environment variables on linux 'child_process.execFile'
2019-05-16 15:05:24 -07:00
Bryan Roe
d0fb36d10b
Add ability to specify detached=true in options
2019-05-12 21:39:02 -07:00
Bryan Roe
e9f8626be8
Added missing Canary checks, and altered engine_free to wipe memory
2019-02-01 13:02:14 -08:00
Bryan Roe
820aecc7ec
1. Added Canary checks
...
2. Added 'waitExit' for linux and MacOS
2019-01-11 12:17:24 -08:00