[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache afb2684f38 027/158: Improve dtache-env command
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache afb2684f38 027/158: Improve dtache-env command |
Date: |
Wed, 19 Jan 2022 18:57:41 -0500 (EST) |
branch: externals/dtache
commit afb2684f38d545af0b34338feb5ca5e6b66829a1
Author: Niklas Eklund <niklas.eklund@zenseact.com>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Improve dtache-env command
The shell command used when dtache-env is enabled could be
simplified. There was unnecessary bash -c there, which also caused
dtache to fail to execute some commands properly. One example was:
for i in {0..5}; do echo $i; done
Which it didn't capture the output from correctly.
---
dtache.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dtache.el b/dtache.el
index e6c81d6924..c982d0d553 100644
--- a/dtache.el
+++ b/dtache.el
@@ -793,8 +793,7 @@ Otherwise use tee to log stdout and stderr individually."
(if dtache-env
(string-join
`(,dtache-env
- ,dtache-shell-program "-c"
- ,(shell-quote-argument (format "\"%s\""
(dtache--session-command session)))) " ")
+ ,(shell-quote-argument (dtache--session-command session))) "
")
`(,dtache-shell-program "-c" ,(shell-quote-argument
(dtache--session-command session)))))
(directory (dtache--session-session-directory session))
(file-name (dtache--session-id session))
- [elpa] externals/dtache 91baa9ecfa 031/158: Update dtache-message detection, (continued)
- [elpa] externals/dtache 91baa9ecfa 031/158: Update dtache-message detection, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache eaf141725f 044/158: Add compile section to tips and tricks in README, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache eb997e0b4e 023/158: Correct some spelling mistakes, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 082139f1c3 045/158: Add instructions on how to customize annotations, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache f6c9710c1b 017/158: Merge develop branch into master, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 99fd5c5b5c 025/158: Make sure to erase the output buffer, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b2eabec6c7 041/158: Improve dtache actions, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 357432877c 033/158: Implement annotation/affixation function, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache ecc7563302 048/158: Update LICENSE, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 2958d21869 035/158: Remove marginalia from dtache, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache afb2684f38 027/158: Improve dtache-env command,
ELPA Syncer <=
- [elpa] externals/dtache c29079e0c0 047/158: Remove dtache-session-history, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache db230154e4 016/158: Merge develop branch into master, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 2a38a9b538 030/158: Robustify against failures in configuration, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 115de6c1a2 022/158: Add default value for dtache-max-command-length, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 09d378e50a 024/158: Fix read-only problematic, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 4e99fc9daa 049/158: Deprecate dtache-list-sessions, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache cb1762ffc2 052/158: Add presentation about dtache version 0.2, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 5d9c8aa54f 053/158: Add macOS support, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 01a27b4dc2 056/158: Update README with reference to consult-dtache, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b75af1b9a7 059/158: Update notification setup, ELPA Syncer, 2022/01/19