Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jo-37/shell-run

perl wrapper for shell commands
https://github.com/jo-37/shell-run

bash command-interpreter environment-variables execution feeding ipc oo-interface perl perl-variables procedural-interface shell statement stdin stdout system

Last synced: 25 days ago
JSON representation

perl wrapper for shell commands

Awesome Lists containing this project

README

        

Shell::Bash

This module provides an interface to the bash shell (or any other
interpreter) in addition to "system()", "qx{}", "open CMD, '|-', 'cmd'"
or "open CMD, '-|', 'cmd'".
While the first two offer no way to specify the command interpreter,
the last two don't allow to pipe data from and to the command at the
same time.

Shell::Bash tries to fill this gap as it uses (by default) "/bin/bash"
as the command interpreter and permits feeding input and capturing
output to/from the given command in variables simultaneously.
Furthermore it provides an easy way to set environment variables that
may be referred to as shell variables within the called command.

INSTALLATION

To install this module, run the following commands:

perl Makefile.PL
make
make test
make install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

perldoc Shell::Bash

LICENSE AND COPYRIGHT

Copyright (C) 2019 Jörg Sommrey

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See L for more information.