mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-17 17:11:38 +02:00
Extend jobs to support writing and use that for copy-pipe instead of popen,
from Chris Johnsen.
This commit is contained in:
2
status.c
2
status.c
@@ -594,7 +594,7 @@ status_find_job(struct client *c, char **iptr)
|
||||
|
||||
/* If not found at all, start the job and add to the tree. */
|
||||
if (so == NULL) {
|
||||
job_run(cmd, status_job_callback, status_job_free, c);
|
||||
job_run(cmd, NULL, status_job_callback, status_job_free, c);
|
||||
c->references++;
|
||||
|
||||
so = xmalloc(sizeof *so);
|
||||
|
Reference in New Issue
Block a user