vm-path ( -- path ) (original) (raw)

vm-path ( -- path )
Factor handbook » The implementation » System interface

Prev: Ctrl-Break handler
Next: image-path ( -- path )

Vocabulary
system

Inputs
None

Outputs

path a pathname string

Word description
Outputs the pathname of the currently running Factor VM.

Variable value
Current value in global namespace:

"/Users/jbenedik/builds64/2025-04-29-10-40/factor/factor"

Definition

USING: namespaces ;

IN: system

: vm-path ( -- path ) \ vm-path get-global ;