windowsPowerShellに関するnuakamのブックマーク (1)

  • windowsPowerShell備忘録1 - エンジニア戦記

    PowerShellで開発していたら困ったことがあったので備忘録としてメモ。 ちなみに。 bashでいう $ emacs test.txt &のように別ウィンドウ表示、バックグラウンド処理をしたいときのコマンド。 Start-Job -ScriptBlock {Start-Sleep -Seconds 10}実例 Start-Job { emacs test.txt } ちなみに。 windowsシェルでは&(アンパサンド)は違う意味を持った記号。 $ emacs test.txt &をすると アンパサンド (&) 文字は許可されていません。& 演算子は、今後使用するために予約されています。アンパサンドを二重引用符で囲 み ("&")、文字列の一部として渡してください。 + CategoryInfo : ParserError: (:) [], ParentContainsErrorRec

    windowsPowerShell備忘録1 - エンジニア戦記
  • 1