I have a bunch of Windows command line strings like this:
"C:\test\my dir\myapp.exe" -somearg=1 -anotherarg="teststr" -thirdarg
My python scripts work on Ubuntu and need to parse that strings. I need to get the path of the executable file and all arguments in form of dict. What is the easiest way to do that?
I tried to use python`s argparse but can not figure out how to configure it properly (if it is possible at all).