I'm trying to run multiple commands using subprocess.Popen but I'm getting an error.
subprocess.Popen(['C:/cygwin64/Cygwin.bat' && './iv4_console.exe ../embedded/LUA/analysis/verbose-udp-example.lua'], bufsize=0, executable=None, stdin=None, stdout=None, stderr=None, preexec_fn=None, close_fds=False, shell=True, cwd="F:/Master_Copy2/iv_system4/ports/visualC12/Debug", env=None, universal_newlines=False, startupinfo=None, creationflags=0)
The error says: unsupported operand type(s) for &: 'str' and 'str' I can't figure out the problem.