Some work on call tag.

This commit is contained in:
Brad Arant committed 2024-10-14 12:11:39 -07:00
1 parent f1624b074a
commit 2dd41238de
4 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ namespace jet {
__system::__system(coreutils::ZString &in, coreutils::MString &out, Global &global) : Tag(in, out, global) {
if(hasContainer)
throw coreutils::Exception("call cannot have a container.");
throw coreutils::Exception("system tag cannot have a container.");
if(!variableDefined(coreutils::ZString("pgm")))
throw coreutils::Exception("pgm keyword must be specified.");
argv[0] = variables["pgm"].c_str(); // TODO: Need to peel off the program name only and pass as argv[0].