order child_process.exec callback parameters correctly