Forlan Manual

The System Module


signature SYSTEM
structure System :> SYSTEM

This module consists of functions for interacting with the operating system. Most users of Forlan won't need to use it.


val makeTempFile : unit -> string
val runJForlan : string -> OS.Process.status


creates a new, empty temporary file, returning its name; issues an error message if it's impossible to create the file.

runJForlan s
runs JForlan with the (whitespace separated) contents of s as its arguments, returning the status that JForlan exits with; issues an error message if JForlan can't be executed.

[ Top | Parent | Root | Contents | Index ]

Forlan Version 4.12
Copyright © 2019 Alley Stoughton