Home | Trees | Index | Help |
---|
Package svnmailer :: Module util |
|
Classes | |
---|---|
TempFile |
Tempfile container class |
_DummyPopen3 |
Dummy Popen3 class for platforms which don't provide one in popen2 |
_DummyPopen4 |
Dummy Popen4 class for platforms which don't provide one in popen2 |
Function Summary | |
---|---|
popen2.Popen4 or _DummyPopen4
|
Returns a pipe object ( Popen4 or
_DummyPopen4 on win32) |
str or list
|
Return the revised command suitable for being exec'd |
file like object |
Returns the wrapped stream, which accepts unicode and strings |
list
|
Split a command string with respect to quotes and such |
popen2.Popen3 or _DummyPopen3
|
Returns a pipe object ( Popen3 or
_DummyPopen3 on win32) |
str or unicode
|
Returns a file name usable on the current system |
Function Details |
---|
getPipe4(command)Returns a pipe object (Popen4 or
_DummyPopen4 on win32)
|
getSuitableCommandLine(command, _platform=None)Return the revised command suitable for being exec'd Currently this means, it's escaped and converted to a string only for Win32, because on this system the shell is called. For other systems the list is just returned.
|
getUnicodeWriter(fp, in_enc='utf-8', out_enc='utf-8', err=None)Returns the wrapped stream, which accepts unicode and strings
|
splitCommand(command)Split a command string with respect to quotes and such The command string consists of several tokens:
r'foo bar "baz"
"zo\"" "\\nk"' resolves to
['foo', 'bar', 'baz', 'zo"', r'\nk']
|
getPipe2(command)Returns a pipe object (Popen3 or
_DummyPopen3 on win32)
|
getSuitableFileName(name, enc)Returns a file name usable on the current system
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Feb 14 16:49:18 2005 | http://epydoc.sf.net |