-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
42 lines (28 loc) · 1.21 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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<http://dev.perl.org/licenses/> for more information.