23,382 questions
0
votes
0
answers
47
views
Ghostscript color separation version dot Angle Settings [closed]
Serious problems were encountered during the process of converting vector files to images by calling the Ghostscript library in C++, as follows
when I was using tiffsep1 to output halftone color ...
1
vote
2
answers
98
views
System.CommandLine root command option handler fallback
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");
...
0
votes
1
answer
100
views
how to pipe pasword string to another cmd get started with golang [duplicate]
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 ...
0
votes
0
answers
60
views
kotlinc cant compile file with more 1 path to .jar in -cp or -classpath flag
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 (....
2
votes
1
answer
80
views
withr: suppress message from `deferred_run` when called via `RScript`
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 ...
1
vote
0
answers
110
views
I have a problem using the command line and Raku
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=...
0
votes
2
answers
41
views
how to insert a command-line program in the package
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 ...
1
vote
0
answers
24
views
Using sort with numeric columns separated by letters & underscores
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:
...
3
votes
1
answer
59
views
Why is appending to User Environment Variable PATH without duplicating is not working for the last path in Windows 11 command line?
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 ...
0
votes
1
answer
100
views
A PowerShell script to list all files and folders within a directory structure to a text file
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 ...
0
votes
1
answer
127
views
WinSCP "Host key does not match configured key fingerprint" in script
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 ...
0
votes
1
answer
54
views
I need to get a list of packages used in only one directory
I need a list of packages from only one directory: image
Previously I used the command pip freeze > requirements.txt
but it shows all packages used in the project.
There is also a good plugin ...
1
vote
2
answers
29
views
Unit test python for gatttool commands?
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 ...
0
votes
0
answers
56
views
Lstmtraining Tesseract-OCR
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....
0
votes
1
answer
69
views
Command Line Client using CocoaMQTT does not finish connecting to 3.1.1 MQTT Broker
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 ...