src/Pure/General/secure.ML
changeset 37977 3ceccd415145
parent 37239 54b444874be1
child 38799 712cb964d113
equal deleted inserted replaced
37976:ce2ea240895c 37977:3ceccd415145
    55 val use_global = raw_use_text ML_Parse.global_context (0, "") false;
    55 val use_global = raw_use_text ML_Parse.global_context (0, "") false;
    56 
    56 
    57 fun commit () = use_global "commit();";   (*commit is dynamically bound!*)
    57 fun commit () = use_global "commit();";   (*commit is dynamically bound!*)
    58 
    58 
    59 fun Isar_setup () = use_global "open Unsynchronized;";
    59 fun Isar_setup () = use_global "open Unsynchronized;";
    60 fun PG_setup () = use_global "structure ThyLoad = Thy_Load;";
    60 fun PG_setup () = use_global "structure ThyLoad = ProofGeneral.ThyLoad;";
    61 
    61 
    62 
    62 
    63 (* shell commands *)
    63 (* shell commands *)
    64 
    64 
    65 fun secure_shell () = deny_secure "Cannot execute shell commands in secure mode";
    65 fun secure_shell () = deny_secure "Cannot execute shell commands in secure mode";