aboutsummaryrefslogtreecommitdiff
path: root/src/api/process.c
AgeCommit message (Collapse)Author
2022-09-02Changed setpgrp to a more portable form.Adam
2022-04-15Cleanup (#826)Jan
* Update meson.build - add logic to loop over more lua names (in the future more names might be discovered) - disable warnings and errors on dependencies * adding missing includes and checks, correct data types, pointer mess […] - various functions from string.h were used but never defined - logic was done across multiple different data types with different signedness, got all of them up to snuff - give 0 sized array size of 1 (array of size 0 is illegal, but rewriting the code is out of the scope of this commit) - add preprocessor that marks possibly unused argument as such (does not mean they will get optimized out or anything) - correctly initialize structs with all data needed All these were found by generating the project using `meson -Dwarning_level=3 -Dwerror=true` * remove undefined behavior, correct data types * Comment manual bit manipulation to be investigated * check for more edge cases, replace multiple cleanups with goto * remove system specific includes
2022-02-11Merge pull request #828 from adamharrison/signal-processesAdam
Changed signalling so it'll target the whole process group.
2022-02-08Update process status when calling `process:running`Guldoman
2022-01-30Changed signalling so it'll target the whole process group.Adam Harrison
2022-01-28Merge branch 'fix-process-api' of github.com:adamharrison/lite-xl into ↵Adam Harrison
fix-process-api
2022-01-28Incorporate realtakase's suggestions.Adam Harrison
2022-01-22Fixed windows not converting utf8 environment block to utf16.Adam Harrison
2022-01-22Added in support for env on linux.Adam Harrison
2022-01-22Implemented @guldoman's suggestion for how to close file handles.Adam Harrison
2022-01-22fix invalid memory accesstakase1121
2021-12-31Migrate to Lua 5.4Jan200101
2021-12-11Replace Reproc (#535)Adam
Replace reproc with simpler non-dependency-based process API.
2021-07-20Merged dev to master.Adam Harrison
2021-07-15remove duplicated constantstakase1121
2021-07-15do not terminate process when read failstakase1121
2021-07-15fix wrongly spaced variable nametakase1121
2021-07-15add generic read functiontakase1121
process_read and process_read_errors no longer contain redundant code
2021-07-15refactor process.ctakase1121
- include api.h instead of individual #includes - moved metatable name to API_TYPE_PROCESS - moved read buffer size to READ_BUF_SIZE
2021-06-22[api/process] added missing fields and minor fix to pid()jgmdev
2021-06-18Merge reproc changes from dev.jgmdev