@exe_child_of(son:exe, ancestor:exe)
@exe_child_of(son:exe, ancestor:proc)
@exe_child_of(son:exe, ancestor:string)

returns true if son is a descendent of ancestor. Otherwise a false value is returned.

The first argument must be a live exe. The second argument specifies the ancestor:

  • by an exe;

  • or by a proc value, meaning that son has been launched directly or indirectly from one instance of the proc;

  • or by a string which is the label of a compound action of which one of the instances has launched son.

An is returned in case of problem (the second argument is a dead exe or is not a valid proc value).

An exe is considered as a child of itself. Thus,

      @exe_child_of(ex, ex)
returns true if exis a live exe.

The child relation between the son and the ancestor is not necessarily direct: a process P that is spanned by a loop triggered by a whenever in a group G is a child of G (in pedantic terms, the child relation is the reflexive-transitive closure of the relation defined by the function @exe_parent).

See also @exe_parent, the special variables $MYSELF and $THISOBJ.

See also System Related Functions @arch_darwin,    @arch_linux,    @arch_windows,    @compilation,    @configuration_arch,    @configuration_audiosample,    @configuration_debug,    @configuration_faust,    @configuration_host,    @configuration_release,    @configuration_target_architecture,    @current_load_directory,    @directory_read,    @exe_child_of,    @exe_parent,    @history_length,    @host_date,    @info,    @is_fastforward,    @is_following_on,    @is_paused,    @is_playing_on,    @is_running,    @is_stopped,    @max_absolute_path,    @max_patch_path,    @pwd,    @strip_path,    @system,    @Tracing,    @time,    @typecheck,    @UnTracing    @usage_resident_memory_size,    @usage_statistics,    @usage_virtual_memory_size    @user_directory