Skip to content

tbje/sn-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sn-shell - simple lib for running shell commands for ScalaNative

Wrapper over using popen to run shell commands.

Example:

import tbje.snShell.Shell._

runCommand("ls -l").foreach{ _.lines.foreach(x => println ("  " + x)) }

runCommand("pwd", cwd = Some("test"))

In build.sbt or somewhere in the project directory :

libraryDependencies += "com.github.tbje" %%% "sn-shell" % "0.1-SNAPSHOT"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages