The problem is that the result of `execProcess` contains trailing whitespace (a 
newline in this case). Try:
    
    
    return execProcess(command & """""" & filepath & """") / 
1000""").strip.parseInt
    

Reply via email to