【发布时间】:2025-12-09 02:40:02
【问题描述】:
我是一个进步的新手。我只是关注了下面的 kb 文章,但我没有得到想要的输出。 https://knowledgebase.progress.com/articles/Knowledge/How-to-write-a-p-script-to-execute-via-proenv-to-produce-a-stderr-stdout-in-a-file
- 我创建了一个 test.p 文件,代码如下:
MESSAGE ENTRY (1, "This is a test") VIEW-AS ALERT-BOX.
MESSAGE "Hello there" VIEW-AS ALERT-BOX.
DISPLAY "hello world".
- chmod +x test.p
- 然后在 proenv 中运行以下命令
proenv>proenv -b -p test.p > test.out
- 我只在 test.out 文件的输出下方找到
$ cat test.out
DLC: /opt/progress/117
WRKDIR: /opt/progress/wrk_117
OEM: /opt/progress/oemgmt_117
OEMWRKDIR: /opt/progress/wrk_oemgmt_117
Inserting /opt/progress/117/bin to beginning of path and
setting the current directory to /opt/progress/wrk_117.
OpenEdge Release 11.7.5 as of Fri Jun 7 08:29:03 EDT 2019
我没有找到,我做错了什么。感谢在这方面的帮助。谢谢。
【问题讨论】:
-
2. ABL 运行时执行实际执行,您不需要使源文件可执行。
标签: openedge progress-4gl progress-db