Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jo-37/shell-run
- Owner: jo-37
- Created: 2019-09-18T17:23:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-26T20:46:39.000Z (almost 5 years ago)
- Last Synced: 2024-11-08T15:29:44.498Z (3 months ago)
- Topics: bash, command-interpreter, environment-variables, execution, feeding, ipc, oo-interface, perl, perl-variables, procedural-interface, shell, statement, stdin, stdout, system
- Language: Perl
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
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 installSUPPORT 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.