News for hackers. Stuff that matters.
Re:PowerShell is open sourced and is available on Linux by z3t4 on Thursday August 18, 2016 @02:03PM (#12314902)
lately i use nodejs and have replaced the cmd tools with node modules. It is more verbose then piping shell commands but easier to understand and the same script can be reused across platforms.
Re:PowerShell is open sourced and is available on Linux by cbHXBY1D on Thursday August 18, 2016 @04:49PM (#12316212)
Really? I have to do this to execute docker commands and it is painful. A lot of child_process I/O and it gets hairy.
Re:PowerShell is open sourced and is available on Linux by tracker1 on Friday August 19, 2016 @05:35AM (#12318877)
I find some of it's a lot easier with shelljs or mz, but ymmv. I also like that streams of line delimited JSON is really nice as well.