Actually call commands sent with --command

Closes #884