update readme
This commit is contained in:
10
Readme.md
10
Readme.md
@@ -1,4 +1,4 @@
|
||||
This provides a cross platform way to launch processes on mac/linux/or windows.
|
||||
This provides a cross platform way to launch processes on mac/linux/or windows. Inspired by [opener](https://github.com/domenic/opener)
|
||||
|
||||
Simply call `Opener.Open()` with whatever commands you need
|
||||
|
||||
@@ -12,4 +12,10 @@ Opener.Net.Opener.Open("http://google.com"); // launch a browser window
|
||||
|
||||
Opener.Net.Opener.Open("npm install", processStartInfo: new ProcessStartInfo(){ WorkingDirectory = "c:/projects/npmrest"}); //npm install in a specific directory
|
||||
|
||||
```
|
||||
```
|
||||
|
||||
## Why?
|
||||
|
||||
|
||||
Because Windows has start, Macs have open, and *nix has xdg-open. At least according to some guy on StackOverflow. And I like things that work on all three. Like Node.js. And Opener.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user