2013/7/19 Chiron Lionel
But I 'm not able to use the classical subprocess Python module .. the import doesn't work..

Hi,

You should be able to use the Java ProgressBuilder class from Jython:

from java.io import BufferedReader
from java.io import InputStreamReader
from java.lang import ProcessBuilder

process = ProcessBuilder(
        ["/path/to/program", "arg1", "arg2"]).start()
input_stream = process.getInputStream()
input_reader = InputStreamReader(input_stream)
input_reader = BufferedReader(input_reader)
line = input_reader.readLine()
while line is not None:
    print line
    line = input_reader.readLine()

(adapted from http://stackoverflow.com/a/13991171/711380)

Hope that helps,

-- 
Remi