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
Originally posted by cjnewbs June 1, 2023
Hi,
I'm creating a makefile to setup local environments automatically.
I've got most of it working but I am having trouble running bin/magento s:up. I can run it interactively from within warden shell but I would like to be able to do something like:
echo "bin/magento s:up" | warden shell
Which is similar to running a setup SQL which I do like so:echo "$$SQL" | warden db import, however trying it with warden shell results in the error the input device is not a TTY
Any ides?
The text was updated successfully, but these errors were encountered:
(/) Acceptance Criteria
warden shell
detects if contents are being piped into itwarden shell
treats contents piped into it as if a -C flag had been passedwarden shell
by itself still launches a containere.g.
warden shell
should act like bash(?) Technical Information
Source: https://stackoverflow.com/a/37243826
Discussed in https://github.com/orgs/wardenenv/discussions/654
Originally posted by cjnewbs June 1, 2023
Hi,
I'm creating a makefile to setup local environments automatically.
I've got most of it working but I am having trouble running
bin/magento s:up
. I can run it interactively from withinwarden shell
but I would like to be able to do something like:Which is similar to running a setup SQL which I do like so:
echo "$$SQL" | warden db import
, however trying it withwarden shell
results in the errorthe input device is not a TTY
Any ides?
The text was updated successfully, but these errors were encountered: