GithubHelp home page GithubHelp logo

onechumppumps / runinbash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from benpope82/runinbash

0.0 1.0 0.0 5.35 MB

Run Linux commands under WSL without leaving your PowerShell or CMD!

Home Page: https://neosmart.net/RunInBash/

License: MIT License

C++ 83.41% C 16.59%

runinbash's Introduction

Introduction

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.

Installation

Just copy RunInBash.exe to your PATH. For best results, we recommend renaming it $.exe, allowing you to run any Linux command by simply prefixing it with $, e.g. $ ifconfig or $ git status.

An automated installer will be arriving in a future update shortly.

Screenshots & Examples

betterpad screenshot

PS D:\git\RunInBash> git status
git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ git status
+ ~~~
    + CategoryInfo          : ObjectNotFound: (git:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS D:\git\RunInBash> $ git status
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working directory clean

And an example of escaping magic at work:

betterpad screenshot

C:\Users\NeoSmart>$ printf "It's just like \"%s\"!" magic
It's just like "magic"!

And here's how RunInBash can make advanced (bash|power)shell scripting pure joy:

runinbash's People

Contributors

mqudsi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.