I am trying to do something I thought would be trivial.
I just wanted to declare a function as that
function mds {
python -m "blabla" $args
}
but it's just not working under Powershell.
I got this error:
mds : The term 'python -m os:String' is not recognized as the name of a cmdlet, function, script file, or operable program. Ch
eck the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
As I understand Powershell takes the whole python -m "asdfadsf"
as command, but why? And how can I workaround it ?
Start-Process python "-m blabla $args" -Wait
or something to that effect.