Concept:Process

Interface to the host OS's processes.

  • Query the current pid and ppid.
  • Ability to run a command as a subprocess, either synchronously (a.k.a. system()) or asynchronously.
  • Ability to fork and other low-level interface.
  • Means of inter-process communication.

ChezScheme

Query

System

system, process

Fork&Exec

IPC

Chicken

Query

current-process-id, parent-process-id

System

process-run, open-input-pipe, open-output-pipe, call-with-input-pipe, call-with-output-pipe, with-input-from-pipe, with-output-to-pipe.

Fork&Exec

process-fork, process-execute, process-wait, create-pipe

IPC

process-signal

Gauche

Query

sys-getpid, sys-getppid

System

sys-system. In gauche.process module, run-process, open-input-process?, open-output-process?, call-with-input-process?, call-with-output-process?, with-input-from-process?, with-output-to-process?

Fork&Exec

sys-fork?, sys-exec?, sys-wait?, sys-waitpid?.

IPC

sys-kill

Scheme48

Query

get-process-id, get-parent-process-id

System

Fork&Exec

fork, exec, exec-with-environment, exec-file, exec-file-with-environment, exec-with-alias, wait-for-child-process.

IPC

STk

Query

getpid

System

system, exec

Fork&Exec

posix-fork?, run-process.

IPC