top | item 45102948

(no title)

RaptorJ | 6 months ago

or directly in powershell, `Start-Process myproc.exe -Environment @{ FOO = 'bar' }`

discuss

order

Sohcahtoa82|6 months ago

What an absolutely awful syntax.

How Powershell ever got popular is beyond me.

amonith|6 months ago

Because it's objects, not text. It "scales" a lot better in your brain because in general you need to know a lot less than in bash. No more awkward sed and awk scripts, manipulating objects is a breeze. Awkward syntax at places where you have to create an object from scratch is a fair price.

encom|6 months ago

Right? This is your brain on Windows.