Description
The subprocess execution documentation in Docs/wfldocs/WFL-io.md contains conflicting guidance about whether execute command "echo Hello World" runs via shell or direct execution.
Contradiction Details
- Lines 517-521 (Safe Execution section): Label
execute command "echo Hello World" as SAFE direct execution without shell
- Lines 421-425 (Cross-Platform Execution section): Show the same command working cross-platform via shell (cmd.exe on Windows, sh on Unix)
This creates confusion about:
- Whether this command invokes a shell or runs directly
- Whether it's safe from injection attacks by default
- How WFL resolves simple commands like "echo"
Location
- File:
Docs/wfldocs/WFL-io.md
- Lines: ~421-425 and ~517-521
Context
This issue was identified during code review of PR #185 which adds subprocess execution features.
Related Links
Reported by: @logbie
Description
The subprocess execution documentation in
Docs/wfldocs/WFL-io.mdcontains conflicting guidance about whetherexecute command "echo Hello World"runs via shell or direct execution.Contradiction Details
execute command "echo Hello World"as SAFE direct execution without shellThis creates confusion about:
Location
Docs/wfldocs/WFL-io.mdContext
This issue was identified during code review of PR #185 which adds subprocess execution features.
Related Links
Reported by: @logbie