use subprocess to run command, management.call_command not in right context