There are Plumbum shell combinators in Python http://plumbum.readthedocs.org/en/latest/
There are a couple of modules that do this kind of thing but Plumbum looks interesting, particularly
http://plumbum.readthedocs.org/en/latest/local_commands.html...
>from plumbum.cmd import cat
>>cat('tmp.txt') #invokes cat tmp.txt on the system
Slash for Scala is not used by default though for path joining, but it can be by adding an implicit function:
Shell friendly syntax can be used for stdin/stdout in Scala as well (already in the stdlib with no implicits required):#< Redirect STDIN
#> Redirect STDOUT
#>> Append to STDOUT
#&& Create an AND list
#!! Create an OR list
http://stackoverflow.com/questions/12772605/scala-shell-comm...
http://alvinalexander.com/scala/scala-execute-exec-external-...