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

Build and run execute command in solution file directory? #65

Open
Cranbaerry opened this issue Jan 12, 2022 · 1 comment
Open

Build and run execute command in solution file directory? #65

Cranbaerry opened this issue Jan 12, 2022 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Cranbaerry
Copy link

Hi, I'm having a trouble using this plugin to solve a problem to which requires the tool to read a certain file in the solution file directory. How would I achieve this?

@Cranbaerry Cranbaerry added the bug Something isn't working label Jan 12, 2022
@Pushpavel
Copy link
Owner

Hi @Mikami382, I don't think this is possible with the current plugin build. The build and execute command are executed on a temporary directory. By adding a macro for solution directory ($sol_dir) and using cd @sol_dir && g++ .... as the execute command, the executable would run on the solution directory. I don't have time to work on this project for at least few days. So, a pull request would be helpful. To add a new macro look here.

@Pushpavel Pushpavel added the good first issue Good for newcomers label Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants