4 Commits

Author SHA1 Message Date
Léo Cardao
ce4ae529df Fix CTRL-C on a program launched with rlimit and add --foreground option
To correct CTRL-C, we stop setting rlimit as the foreground program and
ignore the SIGTTOU signal.

However, this does not allow rlimit to be used with an interactive
terminal. To solve this problem, we introduce the --foreground option.

IT-465
2023-06-23 15:00:40 +02:00
Nicolas Roche
8225cfc631 Improve linux implemenation of rlimit to support tty
Part of U915-014
2023-04-20 18:17:21 +02:00
Nicolas Roche
ed39720dca Fix various issues with rlimit
1- Ensure we call which on command line spawned using timeout (i.e:
rlimit)
2- Adjust rlimit on Windows to try to spawn a process without
create_breakaway_from_job in case an access denied is returned on first
try

Part of T608-018
2021-08-03 18:20:17 +02:00
Olivier Ramonat
3ec49e842d Add rlimit for 64bit windows
Add rlimit sources and build instruction
Add test for 64bit windows

TN: S704-020
2019-07-11 12:40:15 +02:00