Redirecting stderr to stdout when executing a command