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

Add a switch to obr to directly set OBJECK_STDIO mode #240

Closed
ghost opened this issue Jun 2, 2023 · 4 comments
Closed

Add a switch to obr to directly set OBJECK_STDIO mode #240

ghost opened this issue Jun 2, 2023 · 4 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jun 2, 2023

Without having to set the environment variable OBJECK_STDIO globally. I still have no idea how this switch would look like though. The reason for this suggestion is there are not many editors allowing setting environment variables internally like Sublime Text and wrapping obr command in batch script or shell script not always work (some editors really don't like this). Objeck-lsp needs OBJECK_STDIO set to stdio but normal command line program's output will be broken with OBJECK_STDIO set to stdio.

@objeck objeck self-assigned this Jun 4, 2023
@objeck
Copy link
Owner

objeck commented Jun 4, 2023

Thanks, will take a look at this

@objeck
Copy link
Owner

objeck commented Jun 20, 2023

How about a config file?

@objeck
Copy link
Owner

objeck commented Jun 21, 2023

Adding, now syntax will be --OBJECK_STDIO=binary prgm239.obe a b c d e. VM parameters will need to be prepended.

objeck added a commit that referenced this issue Jun 21, 2023
objeck added a commit that referenced this issue Jun 21, 2023
@objeck
Copy link
Owner

objeck commented Jun 21, 2023

Added, will test and tweak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant