Retoor software development Projects Research SearchXNG
Register Sign In

10 lines
211 B
JavaScript
Raw Normal View History

feat: add pexpect and yaml modules with jinja from-import support Add new pexpect module for process spawning and interaction, including Spawn class with expect, sendline, and timeout handling. Introduce yaml module for YAML parsing with support for nested structures, lists, and data types. Extend jinja template engine with brace tokenization and FromImportNode for macro imports across templates. Register all new foreign functions in modules.c and include generated demo scripts.
2026-01-25 22:09:29 +01:00
// retoor <retoor@molodetz.nl>
// nontest
import "pexpect" for Spawn, Pexpect
System.print("Testing Pexpect.run")
var output = Pexpect.run("echo test")
System.print("Output: [%(output)]")
System.print("Done")
Reference in New Issue Copy Permalink
fe1f129349
wren/test/pexpect/run_simple.wren
Response time: 30ms
Mail Licenses API