Description of the problem or steps to reproduce
Function shell.JobSpawn() provide support for omitting onStdout and onStderr arguments (using nil value), but does not provide the same for onExit.
It seems usable to call JobSpawn() without callback on exit, if you do not care when and how your job ends. Without this option it is necessary to create dummy function that does nothing.