Executes ls and cd in separate threads to avoid ui freeze