1 #include <exec/types.h>
5 #include <proto/workbench.h>
7 #define SH_GLOBAL_DOSBASE TRUE
8 #include <aros/shcommands.h>
13 AROS_SHA(STRPTR
, , NAME
, /A
, NULL
)
18 struct Library
*WorkbenchBase
= OpenLibrary("workbench.library", 44L);
21 if (WorkbenchBase
!= NULL
)
23 success
= OpenWorkbenchObject(SHArg(NAME
), TAG_DONE
);
27 PutStr("ERROR: Could not open workbench.library v44+.\n");
30 return success
? RETURN_OK
: RETURN_FAIL
;