# Piping into rake admin:create

**URL:** https://meta.discourse.org/t/piping-into-rake-admin-create/73643
**Category:** Development
**Created:** [November 7, 2017, 11:36pm UTC](https://meta.discourse.org/t/piping-into-rake-admin-create/73643 "2017-11-07T23:36:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 7, 2017, 11:36pm UTC](https://meta.discourse.org/t/piping-into-rake-admin-create/73643/1 "2017-11-07T23:36:19Z")

</div>

I have a `new_discourse_database` script that, among other things, does this:

```bash
cat | bundle exec rake admin:create <<EOF
pfaffman@somewhere.com
mysafepassword
mysafepassword

EOF

```

Until recently, it worked just fine. Now it works just fine, but it hangs until I hit return.
