dokku / dokku-daemon

A daemon wrapper around dokku
MIT License
32 stars 13 forks source link

Add stdin/stdout support. Fixes #3 #16

Closed beydogan closed 6 years ago

beydogan commented 7 years ago

This PR adds stdin and stdout support.

It checks the 2nd last element of cmd array whether its < or > and runs the command according to that.

I've tested it with postgres:import and postgres:export its working except one problem; output of command is empty. How should we handle that?

Disclaimer: I'm not sure if its a good way, feel free to shoot :)