Promised execution of terminal command.