Execute() enhancement
Posted: Tue Jul 24, 2012 9:20 pm
I've two proposal to enhance the Execute() command:
1. Give the possibility to capture directly into Hollywood the executed program output
captured_output = Execute(program_name)
2. Implement the possibility to attach a callback for every line captured from the executed command
I don't know if this is easy or not to implement but could be really usefull, for example when launching a program that do long tasks and print out the progresses of the elaboration (encoders, archiver, and so on are good examples)
1. Give the possibility to capture directly into Hollywood the executed program output
captured_output = Execute(program_name)
2. Implement the possibility to attach a callback for every line captured from the executed command
I don't know if this is easy or not to implement but could be really usefull, for example when launching a program that do long tasks and print out the progresses of the elaboration (encoders, archiver, and so on are good examples)