Hamir Mahal
4bdee80afa
style: simplify string formatting for readability
2024-10-06 09:33:58 -07:00
Marie Katrine Ekeberg
d6b1d16bfc
Use to_string_lossy to avoid relying on Debug-outputs
2022-09-11 20:58:50 +02:00
Marie Katrine Ekeberg
c7370ca82c
Simplistic "Command not found" error message
2022-09-11 20:58:50 +02:00
Tavian Barnes
40b368e761
exec: Execute batches before they get too long
...
Fixes #410 .
2022-05-28 22:19:47 +02:00
Thayne McCombs
5a12a5e421
Use full names in command.rs
2022-03-08 10:15:48 +01:00
Thayne McCombs
9fb0c5d372
Group together output from multi exec commands
...
So that if multiple `--exec` options are given, and the commands are run
in parallel, the buffered output for related commands will be
consecutive.
2022-03-08 10:15:48 +01:00
Thayne McCombs
e4730603d0
Address feedback for removing buffering when running on a single thread
2021-08-11 09:38:55 +02:00
Max Triano
154cd6e329
Clarifying comments
2021-08-11 09:38:55 +02:00
Max Triano
394e967b5f
No buffering cmd output when running on 1 thread
2021-08-11 09:38:55 +02:00
Max Triano
0f0fa76c81
Just trying some things out, initial functionality
2021-08-11 09:38:55 +02:00
sharkdp
4590ae8535
Proper error handling within walk.rs
2020-04-03 22:36:32 +02:00
sharkdp
4274075f6f
Remove outdated license headers (not strictly required by Apache-2.0)
2020-04-03 10:19:13 +02:00
sharkdp
a0505bd4df
Expose exit status from --exec-batch <cmd>
...
closes #333
2019-09-13 23:05:35 +02:00
kimsnj
45d1b15cff
Add support for batch execution of command
2018-11-12 21:11:40 +01:00
sharkdp
81a27fa9bd
Unify error messages, closes #342
2018-10-27 16:30:29 +02:00
Josh Leeb-du Toit
984f04f142
Add print_error macros to replace functions
...
This patch replaces the `print_error` and `print_error_and_exit`
functions with equivalent macros.
2018-10-12 07:31:21 +02:00
Josh Leeb-du Toit
8691ab4bed
Minor changes to improve readability
...
This patch makes minor changes to make the code a little easier to
understand. For example, using the `?` operator in some fns that return
an `Option` type.
2018-10-04 09:44:09 +02:00
sharkdp
6a9f16e159
Run latest version of rustfmt
2018-04-13 23:13:22 +02:00
Matthias Reitinger
5784823aca
Unify execute_command across platforms
2017-12-09 21:10:48 -08:00
sharkdp
5ed7514096
Update error message if command could not be found
2017-11-15 23:24:11 +01:00
Matthias Reitinger
ccdbc76f5a
Fix execute_command on Unix
2017-11-15 23:18:36 +01:00
Matthias Reitinger
c18caaa6f6
Remove CommandTicket to avoid Vec allocation
2017-11-15 23:18:36 +01:00