summaryrefslogtreecommitdiffstats
path: root/job.c
diff options
context:
space:
mode:
authornicm <nicm>2018-09-27 07:43:18 +0000
committernicm <nicm>2018-09-27 07:43:18 +0000
commit228e1a39513701385ffa6241acf6647f08a4b00c (patch)
tree9dbebfe1c91c8a013805483a26775c0132ce53d8 /job.c
parent7d59f82cf96a91ac560d06aef0fe5c8880cf2244 (diff)
Use same working directory rules for jobs as new windows rather than
always starting in home, GitHub issue 1488.
Diffstat (limited to 'job.c')
-rw-r--r--job.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/job.c b/job.c
index 94e1d702..37c9c453 100644
--- a/job.c
+++ b/job.c
@@ -80,6 +80,7 @@ job_run(const char *cmd, struct session *s, const char *cwd,
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, out) != 0)
return (NULL);
+ log_debug("%s: cmd=%s, cwd=%s", __func__, cmd, cwd);
/*
* Do not set TERM during .tmux.conf, it is nice to be able to use