Skip to content

[BUG/REFACTOR] Replace string flags (-c / -e) with temporary script files for execution #2

Description

@shadowmkj

🎯 Problem Statement

Python, Lua, and Node.js code snippets are passed directly to python3 -c, lua -e, and node -e in src/main.go:L147-L164. This fails for complex multiline scripts, string quotes, shell-escaped characters, or long code buffers.

📁 Affected Files

  • src/main.go:L147-L164

🛠️ Proposed Solution

Standardize code execution across all runtimes by writing buffer contents to temporary files prior to invocation (consistent with Go's execution strategy in src/main.go:L166).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions