Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: evaluate code and return results #8

Closed
billw2012 opened this issue Feb 20, 2020 · 1 comment
Closed

Request: evaluate code and return results #8

billw2012 opened this issue Feb 20, 2020 · 1 comment

Comments

@billw2012
Copy link
Contributor

I want to run code in the current context, like an immediate window/repl.

@dedmen
Copy link
Owner

dedmen commented Feb 20, 2020

Send ExecuteCode command (12) with
{
"command": 12,
data : {
script :"diag_log"
}
}

get back
command ExecuteCodeResult (13)

{
"command": 13
"data": {...}
"error": "compile failed"
}

error only on error

@dedmen dedmen closed this as completed in 260ddbd Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants