You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes desk unusable in some pipelines (or any pipelines if you don't like guessing).
This is a little complicated to reproduce. For instance, changing the first command from ls to seq 10 usually succeeds. I'm not sure what the reason is here, but it is likely related to the fact that seq can produce output sooner than ls.
:; desk run hello ls | desk run hello tac
[hangs]^C
[1]+ Stopped desk run hello ls | desk run hello tac
:;fg
desk run hello ls | desk run hello tac
[exits]
Or, if run with no controlling tty, we get warnings but the pipeline is otherwise functional.
:; desk run hello ls | desk run hello tac
bash: cannot set terminal process group (6214): Inappropriate ioctl for device
bash: no job control in this shell
bash: cannot set terminal process group (6211): Inappropriate ioctl for device
bash: no job control in this shell
[correct output follows]
I think this all has something to do with multiple shells trying to manage the foreground process on the terminal. This can be avoided if desk run stops using the -i flag and simply injects . $DESK_ENV; in front of the command to run.
The text was updated successfully, but these errors were encountered:
One way to make aliases work would be to use the load code in #80, and couple it with a shell function that handles run in a subshell (using parens, not $SHELL -c).
I guess this could still probably break somebody's workflow somewhere. Not hard to fix, but maybe not fun to trip over.
This makes desk unusable in some pipelines (or any pipelines if you don't like guessing).
This is a little complicated to reproduce. For instance, changing the first command from
ls
toseq 10
usually succeeds. I'm not sure what the reason is here, but it is likely related to the fact thatseq
can produce output sooner thanls
.Or, if run with no controlling tty, we get warnings but the pipeline is otherwise functional.
I think this all has something to do with multiple shells trying to manage the foreground process on the terminal. This can be avoided if
desk run
stops using the-i
flag and simply injects. $DESK_ENV;
in front of the command to run.The text was updated successfully, but these errors were encountered: