use Process.spawn instead of background shell for ephemeral