Don't run shell command when '--no-write' option set