shell checks input if it is a bg process