RunInBash | Run Linux commands under WSL | Command Line Interface library
kandi X-RAY | RunInBash Summary
kandi X-RAY | RunInBash Summary
RunInBash is a simple tool designed to make running Linux applications easier and faster under WSL. RunInBash simply runs whatever you type after it under a bash shell and pipes the output back to the parent command line. No need to worry about nested quotes, escaping arguments, or anything else! Read more about $ and RunInBash in the official release notes on our blog. Binary releases are available for download on neosmart.net. RunInBash captures the exit code of the executed command and bubbles it back up to the caller, making writing complex scripts containing both Windows and Linux commands easy.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of RunInBash
RunInBash Key Features
RunInBash Examples and Code Snippets
Community Discussions
Trending Discussions on RunInBash
QUESTION
So I am using Chocolatey to help with Package installs on a computer and am wondering if there is a way to for loop through this in powershell. I am more familiar with for loops in Bash with Linux and Mac then I am with Windows, so was wondering if someone can give me some insights,
I basically am running the following scenario:
...ANSWER
Answered 2020-Mar-30 at 14:44When you run an external command (or any command), the output of that command can be piped into a PowerShell command. Since your command outputs single lines containing a package name, that output can be piped into Foreach-Object where each package (object in PowerShell terms) can be processed.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install RunInBash
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page