Skip to content

bug: recognize binaries from previous sessions #98

Description

@kbuffardi

Description

when opening a previous project that has already been compiled, and trying to run the binary without re-compiling I get an error message such as:

Clang WASM compiler loaded. Ready to compile C++20.
browser.cpp:~$ ./a.out
No binary found. Compile first with:  g++ main.cpp

It shows a.out in the explorer and I confirmed it is in the directory but won't recognize it until I compile again.

Expected behavior

if a command is given to run a binary (such as ./a.out but not limited to that file name) the binary should be run if it exists in the workspace. The error message shown should only display if no file of that name is found.

Steps to reproduce

n/a

Environment

No response

Logs or screenshots

Additional context

No response

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I have provided enough information to reproduce the issue.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions