Next: , Previous: Subprocess Procedures, Up: Subprocesses


15.7.2 Subprocess Conditions

If a subprocess spawned by one of the above procedures is killed or suspended, then one of the following errors will be signalled.

— condition type: condition-type:subprocess-signalled subprocess reason

This condition type is a subtype of condition-type:subprocess-abnormal-termination. It is signalled when the subprocess is killed.

Subprocess is an object that represents the subprocess involved. The internals of this object can be accessed but the interface is not documented at this time; see the source code for details.

Reason is interesting only on unix systems, where it is the signal that killed the process. On other systems it has a fixed value that conveys no useful information.

— condition type: condition-type:subprocess-stopped subprocess reason

This condition type is a subtype of condition-type:subprocess-abnormal-termination. It is signalled when the subprocess is stopped or suspended.

Subprocess is an object that represents the subprocess involved. The internals of this object can be accessed but the interface is not documented at this time; see the source code for details.

Reason is interesting only on unix systems, where it is the signal that stopped the process. On other systems it has a fixed value that conveys no useful information.

— condition type: condition-type:subprocess-abnormal-termination subprocess reason

This condition type is a subtype of condition-type:error. This is an abstract type that is never signalled. It is provided so that condition handlers can be bound to it.