optimisation : keep bash session open and communicate via stdin/out