core: exec with the proxy command if specified