Category : terminal

when I want to run the code, it shows The terminal process terminated with exit code: -1. cannot open output file test.exe: Permission denied collect2.exe: error: ld returned 1 exit status What’s wrong with it? and I’d like to know, what’s the difference between run task run build task run active file run selected text ..

Read more

I’m using this commands to open google chrome using exec function of node child_process. switch(process.platform){ case ‘darwin’: this.child = exec(‘open –new -a "Google Chrome" –args "http://localhost:8990"’); break; case ‘win32’: this.child = exec(‘start chrome http://localhost:8990′); break; } I’ve tested the macOS command and works fine, the link will open a chrome instance if it’s not already ..

Read more

I’m working on a TUI (Text User Interface) library for C++, and I have a function for detecting the size of the console window. Is it possible for me to detect a window resize? I would prefer if it would work with any terminal emulator, but if it matters I am using Ubuntu Budgie 20.10, ..

Read more