linux や mac の time コマンドに近いものを windows で Powershell の Measure-Command を利用する $ Measure-Command { Start-Process python -argumentList "test1.py" -Wait -NoNewWindow } -Wait と -NoNewWindow をつけないとうまくいかない。
秒数のみ表示したい場合は