mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix monad-run
Use a non-interactive tty with monad-run, add monad-attach to run without a tty
This commit is contained in:
+8
-3
@@ -1,15 +1,20 @@
|
||||
# docker run magrathea without tty
|
||||
# docker run magrathea with a non-interactive tty
|
||||
monad-run()
|
||||
{
|
||||
monad-docker-run "--attach STDOUT --attach STDERR" $*
|
||||
monad-docker-run "--tty" $*
|
||||
}
|
||||
|
||||
# docker run magrathea with interactive tty
|
||||
monad-tty()
|
||||
monad-it()
|
||||
{
|
||||
monad-docker-run "--interactive --tty" $*
|
||||
}
|
||||
|
||||
monad-attach()
|
||||
{
|
||||
monad-docker-run "--attach STDOUT --attach STDERR" $*
|
||||
}
|
||||
|
||||
# runs ephemeral andschwa/magrathea docker container with local
|
||||
# directory mounted and workdir set to /opt
|
||||
monad-docker-run()
|
||||
|
||||
Reference in New Issue
Block a user