TheAssassin
a8975e0e50
Clean up memory in case exec* fails
...
Prevents memory leaks.
2020-08-08 11:44:21 +02:00
TheAssassin
6c47939fdc
Fix initialization bug
2020-08-08 11:34:02 +02:00
TheAssassin
8663e5bf26
Update license information in help text
2020-08-08 01:06:51 +02:00
TheAssassin
89493e399b
Build fully static strip binary
2020-08-08 00:47:54 +02:00
TheAssassin
4d999ef5c6
Build somewhat static strip ourselves
2020-08-08 00:30:28 +02:00
TheAssassin
b39dfa6591
Fix static binaries handling
2020-08-08 00:30:28 +02:00
TheAssassin
484ff3f004
Fix C string processing bug
...
Well, makes sense now that I look at it... but caused a couple of hours worrying why my child processes were crashing until I noticed it'd only happen if I specified custom environment variables...
2020-08-08 00:30:28 +02:00
TheAssassin
8b604871cc
Refactor duplicate code into static method
2020-08-08 00:30:28 +02:00
TheAssassin
88dd09f2d1
Set all variables to defaults in header
2020-08-08 00:30:28 +02:00
TheAssassin
d43e8a42bf
Fix whitespace
2020-08-08 00:30:28 +02:00
TheAssassin
5feef7880e
Try to fix waitpid issues
2020-08-08 00:30:28 +02:00
TheAssassin
2b2c6a913f
Set default value
2020-08-07 21:22:58 +02:00
TheAssassin
aeb0bfa98b
Use consistent error message for all plugins
2020-08-07 21:22:58 +02:00
TheAssassin
37aa37f5fe
Fix behavior of close()
...
The implementation was obviously wrong/incomplete.
2020-08-07 21:22:58 +02:00
TheAssassin
59a8ec41ba
Replace cpp-subprocess with own linuxdeploy-subprocess
2020-08-07 21:22:58 +02:00
TheAssassin
4a0cfe323d
Require newer CMake version only for static builds
2020-08-07 21:22:58 +02:00
TheAssassin
c895a1dc59
Add kill and poll features for processes
2020-08-07 21:22:58 +02:00
TheAssassin
80a5667ca7
Check waitpid() for errors
2020-08-07 21:22:58 +02:00
TheAssassin
2425ccc832
Extract process handling into separate class
...
Needed for plugins' subprocess handling.
2020-08-07 21:22:58 +02:00
TheAssassin
55b2d00f23
Add reusable assert template
2020-08-07 21:22:58 +02:00
TheAssassin
e1f6da17b4
Add basic subprocess micro library
...
cpp-subprocess does not work when linked statically for some weird reason. Therefore, we're going to ship our own.
2020-08-07 21:22:58 +02:00
TheAssassin
326b002ed5
Fetch up-to-date CMake for AppImage builds
2020-08-07 21:22:58 +02:00
TheAssassin
86d4404a16
Try to use target_link_options again
2020-08-07 21:22:58 +02:00
TheAssassin
cbfbb1ee2d
Debug CI build issues mk. 1
2020-08-07 21:22:58 +02:00
TheAssassin
5fde708954
Improve CMake check
2020-08-06 14:44:00 +02:00