Basic async (still sync) version of spawn_async_with_pipes