add varargs and multiple-return-value samples
fix children to use all the return values of process-wait