image-path ( -- path ) (original) (raw)

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

Prev: vm-path ( -- path )
Next: nano-count ( -- ns )

Vocabulary
system

Inputs
None

Outputs

path a pathname string

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

Variable value
Current value in global namespace:

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

Definition

USING: namespaces ;

IN: system

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