use exec instead spawn