-->

touch ~/test.txt
var scriptPath = 「実行したいtest.shファイルのパス」;
ProcessStartInfo pInfo = new ProcessStartInfo();
pInfo.FileName = "/bin/bash";
pInfo.Arguments = scriptPath;
pInfo.ErrorDialog = true;
pInfo.UseShellExecute = true;
Process.Start(pInfo);
touch $1
var scriptPath = 「実行したいtest.shファイルのパス」;
var argument = 「シェルの引数に渡したいコード」;
ProcessStartInfo pInfo = new ProcessStartInfo();
pInfo.FileName = "/bin/bash";
pInfo.Arguments = $"{scriptPath} {argument}";
pInfo.ErrorDialog = true;
pInfo.UseShellExecute = true;
Process.Start(pInfo);