我试图从os.system()运行程序,该程序需要调用许多命令行参数。其中一些参数指向网络上显然具有UNC路径的目录。
Python解释器返回以下内容:
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
The system cannot find the file specified.
有没有办法在系统方法调用中允许UNC路径?否则,是否有其他库可以处理此问题?