-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db:import
from stdin
#154
Comments
Good question. So far I don't understand fully why this happens what you describe. |
@maxbucknell: The And |
It's worth mentioning that the import worked perfectly. My database was imported as I expected, and it's not fair to say I couldn't type. @ktomk The example is a silly example. What I was actually doing was dumping a file on a server and curling it and piping it in. In this case, gzip saves some bites. I love that gzip is streamable. |
Yes, piping is a good option. I'll run some test for PHP in general to see how this can work. IIRC exec and friends in PHP create subshells and I want to check if it's working before implementing anything. |
Related: netz98/n98-magerun#934 |
I want to load a database and pass it to an import without going through a file. For example
This worked, but the command didn't terminate properly after the command ended. I was unable to type at my terminal, and I had to exit and re-enter, at which point everything was fine.
Given you don't have an option in
db:import
for readingstdin
, I'm guessing this is not a supported use case?The text was updated successfully, but these errors were encountered: