Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
46 views

I'd like to display an help for my scripts just like with other linux commands: ./ScriptWithHelp.sh --help where ScriptWithHelp.sh contains: if echo $1 | grep -q "--help" then echo "...
Arianna Angeletti's user avatar
-1 votes
1 answer
41 views

I'm working on a script to create an MR (merge-request) from the command-line. I already came across this issue, which led me to these docs. I'm running this in python via subprocess, scince this is ...
py_coffee's user avatar
  • 103
2 votes
2 answers
123 views

I'd like to create a hyperlink to a text file in a Powershell script that'll be run in Windows terminal. I've made it work by hardcoding the link, ex. file://c:/textfile.txt but I'd like to compile ...
user348514's user avatar
Advice
0 votes
3 replies
83 views

I can't specify Powershell as default terminal for Visual Studio Community 2026. I mistookly changed default terminal from Powershell to Cmd, but I can' change it back. My terminal choose selection ...
nivenNo's user avatar
3 votes
0 answers
67 views

I am building a custom KSP processor to query symbols annotated with my own annotation. The goal is to: Find all classes/functions annotated with my custom annotation Process them at compile time ...
Rohan Pande's user avatar
3 votes
0 answers
361 views

I want to make certification when building application instead of manually creating it. I wrote a script to generate certificate and then call it from my .csproj file. But the problem is: when I run ...
Gayantha's user avatar
  • 558
3 votes
2 answers
116 views

I am trying to do a project which calculates the strength of a given password but I have an extra feature like -f which takes a .txt file and scans if password is found in it but when I type such as ./...
Pranav Suresh's user avatar
0 votes
1 answer
66 views

I have used ccmake to configure a project with a combination of options - strings, toggles, etc. Now, I want to save my choices so that, in the future or on another machine, I could just issue a ...
einpoklum's user avatar
  • 139k
-1 votes
0 answers
32 views

I Have a python program which I containerized. The script accepts command line arguments. Arguments are correctly processed when running the script directly from the IDE. But if I run the container ...
Jijo Joseph's user avatar
Advice
1 vote
3 replies
60 views

I have several thumb drives that I've been playing with putting Linux distros on to experiment with my new Raspberri Pi. I've had problems using the GUI disk formatter and diskpart in the command line ...
Amaryllis Ninja's user avatar
0 votes
0 answers
71 views

I am trying to run snow git execute @advanced_data_engineering_snowflake/branches/main/forums-analyes/pipeline/data/load_forums_data.sql -D "env='STAGING'" --database=COURSE_REPO --schema=...
Mig Rivera Cueva's user avatar
-2 votes
1 answer
128 views

I'm trying to write a Python script, in order to perform dump analysis (as heap_stat.py was doing before). In order to make this work, I'm thinking of using "cdb.exe", the Windbg commandline....
Dominique's user avatar
  • 17.6k
0 votes
0 answers
90 views

I have a Jenkins pipeline with a critical stage that runs my custom .NET CLI performing important tasks. I want this stage to be fully atomic, meaning that if someone tries to abort the build while ...
Raj Mohammed's user avatar
Best practices
0 votes
1 replies
105 views

In a Windows batch file, is it possible to define a constant when using a filter or when chaining filters? E.g. to pad a video with 15 pixels, I can use: -filter_complex "[0:v:0] pad= iw+30 : ih+...
mins's user avatar
  • 7,840
2 votes
2 answers
175 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
70 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.9k
0 votes
1 answer
131 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,948
3 votes
3 answers
187 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
276 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,366
-1 votes
1 answer
118 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
81 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
98 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
139 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
54 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
45 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
  • 139k
4 votes
1 answer
176 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
131 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
412 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
46 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
105 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
85 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
71 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
65 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,926
3 votes
2 answers
107 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
122 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
151 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,610
0 votes
3 answers
134 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
74 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
-1 votes
0 answers
39 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
  • 655
0 votes
1 answer
395 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
79 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
103 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
-4 votes
1 answer
52 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
1k 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
129 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
1 vote
2 answers
80 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
  • 139k
0 votes
1 answer
155 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
106 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
189 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
1k 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

1
2 3 4 5
468