Skip to content

Commit b018991

Browse files
committed
zpy: agrumentless zpy now opens shell
1 parent 0e53b7b commit b018991

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

rtn/%ZLANGC00.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2017.2 (Build 744U)" ts="2019-03-17 21:02:09">
3-
<Routine name="%ZLANGC00" type="MAC" languagemode="0" timestamp="65089,75025.676789"><![CDATA[
2+
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2017.2 (Build 744U)" ts="2019-03-21 15:56:04">
3+
<Routine name="%ZLANGC00" type="MAC" languagemode="0" timestamp="65093,57355.900954"><![CDATA[
44
; %ZLANGC00
55
; custom commands for ObjectScript
66
; https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GSTU_customize#GSTU_customize_zlang
77
Quit
88
99
ZPY(command) Public
1010
set:$namespace'="PYTHON" $namespace = "PYTHON"
11+
12+
if '$d(comand) {
13+
do ##class(isc.py.util.Shell).Shell()
14+
quit
15+
}
1116
if ((command [ "=") || (command [ " ")) {
1217
set sc = ##class(isc.py.Main).SimpleString(command)
1318
} else {

0 commit comments

Comments
 (0)