Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
104 views

I want to create a shortcut which (1)opens cmd.exe in a specific folder, then, (2)runs within that terminal "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64....
One_Cable5781's user avatar
0 votes
1 answer
47 views

In a command line of a pre-build event in a VS 2026 C++ project, I have the line git log -1 --date=format:%G --output=year.tmp --format="%cd" which is supposed to write the numerical year of ...
JWWalker's user avatar
  • 22.8k
0 votes
1 answer
109 views

With gcc11 (11.3.1) I'm seeing a strange behavior where it seems that -idirafter path takes precedence over -iquote path if path is the same for both options. Consider: // test/foo.hpp #pragma once ...
lapk's user avatar
  • 3,928
3 votes
3 answers
151 views

Essentially, I have a large FASTA file with over 100,000 transcripts in it, and I want to take the top 50 longest of those. After doing this: awk -vRS=">" -vORS="\n" -vFS="\...
deliza123's user avatar
1 vote
2 answers
137 views

I want to add a Option<bool> to the root command but still show the default output when the option is not provided. RootCommand rootCommand = new RootCommand("My root command"); ...
khteh's user avatar
  • 4,280
0 votes
1 answer
111 views

i want exactly to run postgres backup using pgdump_all, but when starting it using cmd package in golang it shows in terminal it need postgres password to run the job , i searched previously and find ...
pooya namiranian's user avatar
0 votes
0 answers
62 views

Problem description: When using the Kotlin compiler (kotlinc) of any version from the command line (not IntelliJ IDEA, but a separate folder with a .bat file), and when specifying multiple libraries (....
Game Out's user avatar
2 votes
1 answer
91 views

Let's assume I have the following script: msg.R: library(withr) local_options(list(whatever = 1L)) suppressMessages(deferred_run()) I invoke it from the command line via Rscript msg.R I would have ...
thothal's user avatar
  • 20.7k
1 vote
0 answers
118 views

This screen transcript pretty much says it all: ftype PerlScript=C:\strawberry\perl\bin\perl.exe "%1" %* RakuScript=C:\rakudo\bin\raku.exe "%1" %* assoc .pl=PerlScript .raku=...
hsmyers's user avatar
  • 721
0 votes
1 answer
45 views

I have a command-line program, say "myprogram.exe" installed in the resources directory of my nodejs-electron application. I run my electron application via "npm start" with no ...
silberz's user avatar
  • 139
1 vote
1 answer
34 views

I'm trying to sort phrases such as the following: a12_b7 a12_b11 a5_b3 a5_b30 a12_b10 using the numbers following the letters, lexicographically. For the example above, I expect the result to be: ...
einpoklum's user avatar
  • 137k
3 votes
1 answer
74 views

I looked through a few solutions here and found an almost working script to append to the user Environment Variable PATH without overwriting the existing path and not clutter it with system's EV's ...
user avatar
0 votes
1 answer
113 views

PowerShell Version 5.1.19041.6093 this script creates the text file with the structure of all folders and files inside but also give this error. PS D:\Csharp Projects\Slicer> # Get the current ...
Daniel Lip's user avatar
  • 11.5k
0 votes
1 answer
207 views

Using the GUI, I can connect to the server and transfer no issues. I generate the open script while connected via the GUI, but when used in a script (Windows bat file) it gives the error: (sensitive ...
Keith Clark's user avatar
1 vote
2 answers
34 views

I am developing in python. My code calls terminal commands. I want to make unit tests for those functions. How do I test if terminal commands are working properly? Also I establish a bluetooth ...
user30817875's user avatar
0 votes
0 answers
83 views

I followed the steps for fine-tuning Tesseract for handwriting recognition. I have the character images and the corresponding box files. Then I generated the .lstmf files, followed by the lstm_train....
TestING's user avatar
0 votes
1 answer
79 views

I do want to write a command line client using the CocoaMQTT package, connecting to a 3.1.1 broker. My problem is, that the connect() call returns „true“, but the connection is still disconnected. I ...
hjbflyer's user avatar
0 votes
1 answer
65 views

I'm debugging a C project on Mac using LLDB, and the relevant source codes no longer displays inside LLDB commandline, but instead in Xcode. How do I disable this? (lldb) version lldb-1700.0.9.502 ...
DannyNiu's user avatar
  • 1,671
1 vote
1 answer
56 views

Is it possible to write a docstring test for a function that prints out the colored text into the command line? I want to test only the content ignoring the color or to add somehow the information on ...
freude's user avatar
  • 3,894
3 votes
2 answers
99 views

I am running a C program like this: int main(int argc, char **argv) { int opt; // Normal command line parsing while ((opt = getopt(argc, argv, "s")) != -1) printf("...
Fabius Wiesner's user avatar
0 votes
0 answers
93 views

We use SQLite and, more recently, the encrypted version with SQLCipher. It works well with our software, but I'm having a small problem using DB Browser for SQLCipher. This software works well, but it ...
Chris SV's user avatar
-1 votes
1 answer
96 views

I used a new machine with VSCode for the 1st time. I moved my dev setup there, including EDITOR env var with code -wr. But I noticed e.g. git wasn't opening the file in the same window, unlike on old ...
Destroy666's user avatar
  • 1,601
0 votes
3 answers
127 views

I tried to push my commit via command line git add -A git commit -m "Message" git push origin master but I had included a file that was too big and the commit failed. I deleted the file and ...
user24841889's user avatar
2 votes
1 answer
67 views

I have a script that parses command line arguments after using getopt. The issue is that the -- before my positional arguments is caught by my --usage) case, thus showing usage text erroneously. Is ...
CompSciDude's user avatar
0 votes
0 answers
37 views

I've built an RPA that runs fine as a .py. I turned it into an .exe and it ran fine that way as well. Next I moved it to the production server that it will run from and using File Explorer, double ...
JimmyG's user avatar
  • 657
0 votes
1 answer
273 views

I am trying to install Playwright using the command line without a prompt. It should pick up JavaScript and leave the other defaults. I tried the following option:- npm init playwright@latest -- --...
Dhana's user avatar
  • 573
0 votes
1 answer
69 views

So, I'm currently working on a mod for a game, and I might end up having to do this for other mods in the future, so I'd like to know if there is a way to do it with the FOR/DO command in Windows' ...
Emma from Mike's party's user avatar
0 votes
0 answers
76 views

When I used the Terminal pane within IntelliJ IDEA 2025.1 RC on macOS 15.4 Sequoia, and execute git --version I see: git version 2.39.5 (Apple Git-154) And which git shows: /usr/bin/git That leads ...
Basil Bourque's user avatar
0 votes
0 answers
43 views

I am trying to get CMake working with powershell but even though CMake is in my program files and added to both system paths and user paths in enviornment variables, powershell wont recognize CMake. ...
user23304450's user avatar
-4 votes
1 answer
45 views

I often execute a Perl script, which I cannot change, and it requires password to be passed as a command line argument in plaintext. For example: $> perl myscript.pl -host localhost -user someone -...
Student's user avatar
0 votes
1 answer
670 views

Repository State I have a git repository located in ~/Desktop/ML/Books. In this repo, I've made a series of edits to a file (main.rs) as follows: Initially, I modified main.rs, staged it, and ...
Ziad Amerr's user avatar
2 votes
4 answers
115 views

I have an XML file that looks like this: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE rrd SYSTEM "https://oss.oetiker.ch/rrdtool/rrdtool.dtd"> <!-- ...
flyingfishfinger's user avatar
0 votes
0 answers
60 views

Preface I am partially sighted and find IDEs incredibly hard to use. If you wanted to hire me for a job that required using one, I'd be looking for at least ten times as much money, and warning you ...
John Dallman's user avatar
0 votes
0 answers
16 views

I'd like to have a popup window appear on top of the current terminal text then have the terminal text restored after the program exits. Can ncurses do that? Can it be faked by having ncurses copy ...
Dave Brunker's user avatar
  • 1,657
1 vote
2 answers
65 views

I want to generate the graphic below, from the (Linux) command-line. I can get pretty close to that by invoking: dialog --title "fsfe.org" --msgbox "This computer\nis not old,\nit is ...
einpoklum's user avatar
  • 137k
0 votes
1 answer
148 views

I want to know if a script has been launched "secretly" or "anonymously" or "without leaving trace", aka. with a space before. In such event, the script is not added to ...
gregoiregentil's user avatar
0 votes
2 answers
99 views

#!/usr/bin/env python3 # interact with command line, open a webpage, grab what you have in your clipboard import sys import webbrowser import pyperclip # function allowing us to open google maps ...
Erick Chico's user avatar
2 votes
0 answers
129 views

I have a VS solution with multiple projects. The code is written in C. I am using Visual Studio 17.12.4 Enterprise. When I run the Code Analysis within VS, the analysis is successful on all ...
Christopher Gillam's user avatar
0 votes
1 answer
572 views

I'd like to launch an unrelated program from Steam, so that Steam shows me as playing that game even though I'm not. Specifically I'd like to open a browser and have Steam show me playing a game while ...
Amaroq's user avatar
  • 93
0 votes
1 answer
352 views

I have a System.CommandLine .NET 9 command line application. It's mostly used for scheduled tasks and the like, but sometimes users need to run it manually. When run manually, while the help is good, ...
Keith's user avatar
  • 157k
0 votes
0 answers
72 views

I am trying to write a minimal script to set up android SDK environment and build a minimal app. This is what I've got, but it's failing with a gradle problem which I am unable to solve FAILURE: ...
YSN's user avatar
  • 2,534
1 vote
2 answers
284 views

When writing a command line tool in Python using Typer one can create a CLI with commands and even subcommands. If you define a CLI with only one command the CLI will be optimized such that you do not ...
Andre Alexander Bell's user avatar
0 votes
0 answers
56 views

I can run a script on the command line with an argument either as the bare "script.py arg1" or I can run it as "python script.py arg1". Both work until I use argparse for command ...
wgw's user avatar
  • 601
0 votes
1 answer
69 views

Can the bellow windows batch script be optimized, so i don't need to input the ssh-key password twice ? The password is required for both: scp "D:\inetpub\HomepageExample.rar" [email protected]....
Stefan Steiger's user avatar
0 votes
1 answer
85 views

I am encountering an issue when running the devenv command line for my solution file. Not all projects are loading properly. However, when I use the Visual Studio 2019 UI, right-click the solution, ...
DevopitionBro's user avatar
1 vote
1 answer
89 views

I was making user-entered variable configurable via command line parameters & ran into this weird behaviour: PS D:> python -c "import sys; print(sys.argv)" -imgs ".\Test V4\Rilsa\...
Lovethenakedgun's user avatar
0 votes
0 answers
59 views

I start profiling my application from the command line with the following shell script: source /opt/intel/oneapi/setvars.sh vtune -collect hotspots --app-working-dir=$PWD -- $PWD/MyExecutable This ...
One_Cable5781's user avatar
1 vote
0 answers
383 views

I have an environment file .env for my bruno collection. There I defined one envirnoment variable called API_KEY. The value of this variable is a reference to a 1Password secret e.g. op://Private/...
Luca's user avatar
  • 121
0 votes
2 answers
124 views

I need to ensure only 1 instance of the application is running. So I have a Mutex lock code in the Main() method which works fine. now I have a requirement to pass a command line argument to the ...
Manali's user avatar
  • 53
0 votes
0 answers
14 views

I would like to run a .exe file via robotframework script. The below code starts the command prompt but how do I pass the command to run the .exe file please. I tried adding - & followed by the ...
Keerthana Ramanan's user avatar

1
2 3 4 5
468