READ_ALL is not the one i am looking for i think. Because when i used
it i was still getting not the whole output.
So i used 0 that is READ_LAZY. Still same.
result =3D ssh.sendcmd('growisofs -M /dev/hdc -R -J /some/files)
print result=20
output:
growisofs -M /dev/hdc -R -J /home/ishbaran/qbasic/baska_d=20
eleyiciler/FIRSTBAS.ZIP=20
Executing 'mkisofs -C 16,6720 -M /dev/fd/3 -R -J
/home/ishbaran/qbasic/baska_deleyiciler/FIRSTBAS.ZIP | builtin_dd
of=3D/dev/hdc obs=3D32k seek=3D420'
INFO:=09ISO-8859-9 character encoding detected by locale settings.
=09Assuming ISO-8859-9 encoded filenames on source filesystem,
=09use -input-charset to override.
Rock Ridge signatures found
/dev/hdc: "Current Write Speed" is 4.1x1385KBps.
****************missing part**********
Total translation table size: 0
Total rockridge attributes bytes: 18829
Total directory bytes: 49152
Path table size(bytes): 230
Max brk space used 21000
7088 extents written (13 MB)
builtin_dd: 368*2KB out @ average infx1385KBps
/dev/hdc: flushing cache
The missing part: Is i use this command at tha console, eachline is
seen one by one. So it is not a block out put i think.
Any suggestion to get all the output?
On 7/23/05, Mark W. Alexander <sl...@do...> wrote:
> On Fri, Jul 22, 2005 at 05:25:40PM +0300, Ogz wrote:
> > In my code i have something like:
> >
> > burncmd =3D "growisofs -M " + burner + " " + "-R -J" + " " + some_files
> >
> > result =3D ssh.sendcmd(burncmd, readtype=3D-2) /*reat type may be wrong=
*/
> ^
> =
|
> pyssh.READ_ALL is 2, not -2. Try changing|this.
>=20
> mwa
> --
> Mark W. Alexander
> sl...@do...
>=20
> The contents of this message authored by Mark W. Alexander are released u=
nder
> the Creative Commons Attribution-NonCommercial license. Copyright of quo=
ted
> materials, if any, are retained by the original author(s).
>=20
> http://creativecommons.org/licenses/by-nc/2.0/
>
|