Commit graph

35 commits

Author SHA1 Message Date
Aaron Weisberg
acf654c984 fix: lint command with nested spaced strings 2025-01-02 17:27:33 +01:00
Paul Gauthier
4fcbf28f91 Restore interactive shell #2415 2024-12-09 15:23:39 -08:00
Paul Gauthier
5f14277fbf Remove -i when running shell commands, as it tosses local env 2024-12-06 13:56:57 -08:00
Paul Gauthier
631ee98738 fix: add interactive flag to shell spawn in pexpect command 2024-12-03 07:45:46 -08:00
Paul Gauthier (aider)
1f2917681f feat: add cwd parameter to run_cmd for directory control 2024-11-26 19:52:06 -08:00
Paul Gauthier
484fdd7aa3 fix: handle ValueError exception in run_cmd_pexpect function 2024-09-10 12:06:45 -07:00
Paul Gauthier (aider)
766569a278 refactor: Remove unused ctypes import 2024-09-10 09:45:05 -07:00
Paul Gauthier (aider)
cc94b51a0b style: use double quotes for string literals in run_cmd.py 2024-09-10 09:44:57 -07:00
Paul Gauthier (aider)
f1d1d1b37a feat: improve Windows parent process detection using psutil 2024-09-10 09:44:54 -07:00
Paul Gauthier
e84caa48a0 refactor: modify stdout reading chunk size in run_cmd_subprocess 2024-09-10 09:44:52 -07:00
Paul Gauthier (aider)
ab9d9c8429 refactor: improve subprocess output handling for real-time display 2024-09-10 09:34:58 -07:00
Paul Gauthier (aider)
625a49752b refactor: remove psutil dependency and check parent process only on Windows 2024-09-10 09:30:36 -07:00
Paul Gauthier
e5ff5eff75 refactor: rename and simplify parent process name retrieval function 2024-09-10 09:30:35 -07:00
Paul Gauthier (aider)
cb42464676 style: Reorder imports and format code 2024-09-10 09:28:42 -07:00
Paul Gauthier (aider)
5de0a0f7a9 feat: improve shell detection for Windows environments 2024-09-10 09:28:39 -07:00
Paul Gauthier
765ea801b1 refactor: simplify shell command execution logic 2024-09-10 09:25:50 -07:00
Paul Gauthier (aider)
1327c1e893 style: format command string for PowerShell execution 2024-09-10 06:51:43 -07:00
Paul Gauthier (aider)
4605969921 fix: improve PowerShell command execution and output capture on Windows 2024-09-10 06:51:38 -07:00
Paul Gauthier (aider)
e3b7b80280 feat: respect user's shell environment in subprocess execution 2024-09-10 06:40:07 -07:00
Paul Gauthier
c4e4967691 refactor: improve error handling in run_cmd function 2024-09-04 08:56:34 -07:00
Paul Gauthier (aider)
d8639bac48 feat: add error handling and flexible error reporting to run_cmd 2024-09-04 08:54:30 -07:00
Paul Gauthier
db7590048e refactor: Remove unused import of sys module in run_cmd function 2024-09-04 08:54:26 -07:00
Paul Gauthier
387df7f1db fixes #1276 2024-09-02 11:41:10 -07:00
Paul Gauthier
22318a3160 copy 2024-08-31 15:50:50 -07:00
Paul Gauthier
59a9409caa refactor: improve verbose output in run_cmd functions 2024-08-31 12:06:09 -07:00
Paul Gauthier (aider)
95f66431bc feat: add verbose argument to run_cmd function 2024-08-31 12:01:30 -07:00
Paul Gauthier
49925b892b refactor: simplify condition for running command with pexpect 2024-08-30 08:33:32 -07:00
Paul Gauthier (aider)
e1c8a25e2e style: format code with linter 2024-08-30 08:32:23 -07:00
Paul Gauthier (aider)
afa7d02906 feat: implement real-time output display in run_cmd_subprocess 2024-08-30 08:32:19 -07:00
Paul Gauthier
64b05a9971 refactor: disable pexpect usage in run_cmd function 2024-08-30 08:32:18 -07:00
Paul Gauthier
3afc3d9089 just avoid pexpect on windows 2024-08-30 07:27:03 -07:00
Paul Gauthier
6e2a423686 fix pexpect logic 2024-08-29 05:56:27 -07:00
Paul Gauthier
ce397b71e8 do not try pexpect on windows; fix time.clock error on windows 2024-08-28 22:26:48 -07:00
Paul Gauthier (aider)
ec7e0cdb72 refactor: move run_interactive_command funcs to run_cmd 2024-08-27 10:39:33 -07:00
Paul Gauthier
fefda7d337 fix: Add run_cmd.py 2024-08-27 10:39:32 -07:00