I'm trying to execute a PowerShell command using Mathematica. Someone has made it before?
I tested my command direct in PowerShell, and it worked nice, but no idea on how can I make Mathematica to call it. Here is a related answer dealing with scripts.
Maybe the new RunProcess
can be a nice new function to handler that, and I could better collect the prompted results.
Here is the command I want to execute:
git -C C:\somePath pull ssh://[email protected]/myaccount/myProject.git
A better toy command is welcome...
ls
, which works in the PowerShell, but not incmd.exe
. $\endgroup$