run_command(): encode arguments inside run_command()