Handbook
Glossary
elevate ( win-console? posix-graphical? -- )
Elevated permissions API
Prev:
already-root? ( -- ? )
Next:
elevated ( command replace? win-console? posix-graphical? -- process )
Vocabulary
elevate
Inputs
win-console?
a
boolean
posix-graphical?
a
boolean
Outputs
None
Word description
Relaunch the current Factor process with superuser privileges. See
elevated
for an explanation, as the semantics are identical.
Definition
USING:
command-line
kernel
;
IN:
elevate
:
elevate
( win-console? posix-graphical? -- )
[
(command-line)
t
]
2dip
elevated
drop
;