← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #291742]: missing part of command line output

 

Question #291742 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/291742

Description changed to:
I want to use the program sox for volume statistics of Audiofiles and do on Windows:
f:>sox.exe "a.wav" -n stat
and get: 
Samples read:            630784 
Length (seconds):      2.972154
Scaled by:         2147483647.0
Maximum amplitude:     0.000153
Minimum amplitude:    -0.000153
Midline amplitude:     0.000000
Mean    norm:          0.000025
..and many more lines.

but in Sikulix with:

cmdout = run( soxPath + '  "f:\\<myfolder>\\a.wav" -n stat' )
print cmdout

i just get:

[info] runcmd: f:\<myfolfder>\sox.exe f:\<myfolder>\a.wav -n stat 
0 
*****error***** 
Samples read: 630784 


My question is, what kind of error occur and where are the remaning lines of the output?


PS: If the commands are put into a *.bat file and be called via run() the commandline breakes on a underscore (_) in the *.bat file path.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.