Run commands inside shell

With bad attempt at escaping. Needs tests.