a-kenji
eee99730d1
clan: add run_no_stdout function suppressing stdout
...
Add the `run_no_stdout` function suppressing stdout by default.This
keeps the noise down on most commands, while still
stayingdebuggable.Stdout will be active when the `--debug` flag is
passed to the cli.
Fixes #1443
2024-05-28 11:13:55 +02:00
Qubasa
e4896814f2
clan_cli: Add TimeTable class to cmd.py. Fix bugs in Machine rewrite
2024-03-08 22:01:54 +07:00
Qubasa
a6f652bdfc
clan_cli,clan_vm_manager: Moved profiler to clan_cli. Add cmd timer to see how long run commands take
2024-03-06 17:12:20 +07:00
Jörg Thalheim
9fef40258a
cmd: skip print for zero-length bufs
2024-01-30 10:30:25 +07:00
Jörg Thalheim
796ef76893
cmd: add a timeout in select
2024-01-12 00:20:22 +01:00
Qubasa
05aaa180e0
cmd.py: Fix busy loop.
2024-01-12 00:13:21 +01:00
Qubasa
1d489438bd
Re-added rlist.remove to counter busy loop
2024-01-12 00:08:15 +01:00
Qubasa
0941367bb3
cmd.py: Fix deadlock because of incorrect select usage
2024-01-11 23:03:14 +01:00
Qubasa
3351f87a7f
Removed duplicate logging messages
2024-01-11 22:46:29 +01:00
Qubasa
d1ca0eaf80
Identified deadlocking funciton
2024-01-11 22:28:35 +01:00
Qubasa
f7c6ab5888
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
Qubasa
16b043f508
cmd.py: Fixing bug: missing output because of forgotten flush() call
2024-01-11 21:11:49 +01:00
Qubasa
2ae439ec52
cmd.py refactor part 4
2024-01-11 21:11:49 +01:00
Qubasa
64846eb395
Fixed bug, where exception is raised where there shouldn't be raised one
2024-01-10 18:46:54 +01:00
Qubasa
699515ca89
Added ClanCmdError. cmd.run now returns this error
2024-01-10 17:58:39 +01:00
Qubasa
626e5558f3
Fix cmd to default print on all outputs. Default print on stderr
2024-01-10 17:31:11 +01:00
Qubasa
c41bc10325
nix fmt
2024-01-10 17:19:33 +01:00
Qubasa
54f2eba1cc
nix fmt
2024-01-10 17:19:12 +01:00
Qubasa
40beda884c
Updated cmd.py with Mic92 changes to fit previous changes
2024-01-10 17:18:21 +01:00
Qubasa
ba05589af2
Refactor subprocess to cmd.py part 2
2024-01-10 12:11:29 +01:00
Jörg Thalheim
fa00bb522b
cmd: rework redirecting stdout/stderr
2024-01-09 17:34:43 +01:00
Qubasa
e4a7f68b0e
Fixed cmd.py writing to stderr
2024-01-02 17:21:06 +01:00
Qubasa
3f55c688d9
Refactor subprocess to cmd.py part 1. Fixed clan_uri test.
2024-01-02 17:21:06 +01:00
Qubasa
ef827af89c
Fixed unsafe dirs.py urlquoting, improved cmd.py run func
2024-01-02 17:21:06 +01:00
Qubasa
5c143bf2da
Finished clan history command. Ported remaining async to sync funcs
2023-12-14 20:57:31 +01:00