Classes | |
class | Unix_Pipes |
Functions | |
def | gethostname |
def | is_localhost |
def | prepend_datapath |
choose a datapath from one of the global variables localtmpdir, globaltmpdir or datapath. | |
def | pipe_join |
join cmand | |
def | stdout_join |
def | stderr_join |
def | sub |
Unix_Pipes.sub( targ, **kargs ) creates a string.Template from targ and sub in kargs. | |
def | stdin_join |
def | replace_quotes |
def | CreateComand |
Variables | |
string | __copyright__ |
string | __license__ |
tuple | env = InstanceManager() |
string | JOIN_PIPE = " | " |
string | file_in_out = "< ${STD_IN} ${COMMAND} > ${STD_OUT}" |
string | file_out = "${COMMAND} > ${STD_OUT}" |
string | file_in = "< ${STD_IN} ${COMMAND}" |
string | file_ = "${COMMAND}" |
string | rsh = '${RSH} ${NODE} "${COMMAND}"' |
def slimpy_base.Core.Command.Drivers.Unix_Pipes.CreateComand | ( | cls, | ||
cmdlist, | ||||
node_name = None , |
||||
source = None , |
||||
target = None , |
||||
is_local = None , |
||||
is_tmp = None , |
||||
err = None , |
||||
ssh_localhost = False | ||||
) |
Definition at line 134 of file Unix_Pipes.py.
def slimpy_base.Core.Command.Drivers.Unix_Pipes.gethostname | ( | ) |
Definition at line 28 of file Unix_Pipes.py.
def slimpy_base.Core.Command.Drivers.Unix_Pipes.is_localhost | ( | nodename | ) |
Definition at line 32 of file Unix_Pipes.py.
def slimpy_base.Core.Command.Drivers.Unix_Pipes.prepend_datapath | ( | cls, | ||
is_loc, | ||||
is_tmp, | ||||
com | ||||
) |
choose a datapath from one of the global variables localtmpdir, globaltmpdir or datapath.
return com augmented by "DATAPATH=%(dp)s %(com)s"
Definition at line 56 of file Unix_Pipes.py.
def slimpy_base.Core.Command.Drivers.Unix_Pipes.replace_quotes | ( | cls, | ||
cmd | ||||
) |
Definition at line 129 of file Unix_Pipes.py.
def slimpy_base.Core.Command.Drivers.Unix_Pipes.stderr_join | ( | cls, | ||
cmd, | ||||
outfile | ||||
) |
Definition at line 101 of file Unix_Pipes.py.
def slimpy_base.Core.Command.Drivers.Unix_Pipes.stdin_join | ( | cls, | ||
infile, | ||||
cmd | ||||
) |
Definition at line 115 of file Unix_Pipes.py.
def slimpy_base.Core.Command.Drivers.Unix_Pipes.stdout_join | ( | cls, | ||
cmd, | ||||
outfile | ||||
) |
Definition at line 97 of file Unix_Pipes.py.
def slimpy_base.Core.Command.Drivers.Unix_Pipes.sub | ( | cls, | ||
targ, | ||||
kargs | ||||
) |
Unix_Pipes.sub( targ, **kargs ) creates a string.Template from targ and sub in kargs.
Definition at line 110 of file Unix_Pipes.py.
string __copyright__ |
string __license__ |
Initial value:
""" This file is part of SLIMpy . SLIMpy is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SLIMpy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with SLIMpy . If not, see <http://www.gnu.org/licenses/>. """
Definition at line 4 of file Unix_Pipes.py.
tuple env = InstanceManager() |
Definition at line 45 of file Unix_Pipes.py.
string file_ = "${COMMAND}" |
Definition at line 121 of file Unix_Pipes.py.
string file_in = "< ${STD_IN} ${COMMAND}" |
Definition at line 120 of file Unix_Pipes.py.
string file_in_out = "< ${STD_IN} ${COMMAND} > ${STD_OUT}" |
Definition at line 118 of file Unix_Pipes.py.
string file_out = "${COMMAND} > ${STD_OUT}" |
Definition at line 119 of file Unix_Pipes.py.
string JOIN_PIPE = " | " |
Definition at line 46 of file Unix_Pipes.py.
string rsh = '${RSH} ${NODE} "${COMMAND}"' |
Definition at line 122 of file Unix_Pipes.py.