diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-26 20:10:00 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-26 20:10:00 +0300 |
| commit | 09b5e0d08f58ff182f30b4d8c4b5a601ff14293d (patch) | |
| tree | 80762a31bc47f1b247e4dead567769226f30a4a7 /tools.go | |
| parent | 7d51c5d0f374d78ad46a3dfb0f9e121bedd386f0 (diff) | |
Enha: shell mode in filepickerdir
Diffstat (limited to 'tools.go')
| -rw-r--r-- | tools.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -714,6 +714,7 @@ func executeCommand(args map[string]string) []byte { ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) defer cancel() cmd := exec.CommandContext(ctx, command, cmdArgs...) + cmd.Dir = cfg.FilePickerDir output, err := cmd.CombinedOutput() if err != nil { msg := fmt.Sprintf("command '%s' failed; error: %v; output: %s", command, err, string(output)) |
