A command line tool is a console based application either run in MS-DOS or a terminal (Command prompt for windows, and terminal for linux and mac)
Questions tagged [command-line-tool]
339 questions
4
votes
1 answer
XCode ibtool command looking for non-existing directory
I am trying to use the ibtool command-line utility. I have opened Terminal in the project directory, where the .xib I want to process is, and I wrote the command as stated in Apple's documentation:
ibtool --generate-strings-file MainMenu.strings…

AppsDev
- 12,319
- 23
- 93
- 186
4
votes
1 answer
iOSOpenDev command line tool build error
Okay, so i have spent all day searching the web for why this is happening.
I have installed the iOSOpenDev XCode Templates, and I opened a new command line tool project, and its giving me this error:
target specifies product type…

Will Brickner
- 824
- 11
- 12
3
votes
4 answers
Make a commandline tool from C program
If I want to make a commandline tool using makefile for, say this C program:
# include
int main()
{
printf("Hello World!");
return 0;
}
I have no previous experience with makefile or linux shell commands whatsoever. Just starting…

praful
- 55
- 1
- 4
3
votes
1 answer
Installed macOS Montery and gfortran now gives error - "ld: unsupported tapi file type '!tapi-tbd' in YAML file"
I upgraded my macOS to Monterey 12.3 and my gfortran code no longer compiles. Initially, running:
gfortran -o executable make_executable1.o make_executable2.o
gave this error message:
ld: library not found for -lSystem
collect2: error: ld returned…

P Ball
- 31
- 2
3
votes
1 answer
Swift command line program with multiple files in VSCode on Mac
I want to run a full fledged Swift command line program with multiple classes and multiple files, on Visual Studio Code. I'm using Macbook Air macOS Big Sur v11.2
I have setup VSCode from this tutorial. I am able to run single file swift program but…

Keval Langalia
- 1,762
- 1
- 16
- 29
3
votes
1 answer
How to create a new .cs file in an existing project through the command line using .net 5.0
I'm using .net core to create and run some very simple C# code through the command line. I create a new console app using dotnet new console . It creates a .csproj file in the name of the directory I'm in (classes). So I have a classes folder which…

Zahra Ahangari
- 262
- 4
- 17
3
votes
1 answer
How can I acces Ghotscript from the command line in Windows 10?
I cannot figure out how to run Ghostscript from the command line. It is included in my path:
and I restarted my PC after I made the change. I cannot access it via the command prompt however:
Please help! Thanks in advance.

InstaK0
- 342
- 3
- 9
3
votes
2 answers
Show output while execute long-time running command Java without waiting RuntimeExec
I have command that takes about 4 minutes to complete execution. While executing the command from windows command prompt, it shows timing information and continuous output.
I want to show that output while running the command from my Java code.…

MSaudi
- 4,442
- 2
- 40
- 65
3
votes
1 answer
How to prevent OSX gcc to always search /usr/local/include?
On my OSX it turns out /usr/local/include is always included as '-I', which caused a lot of headache for me:
hidden$ g++ -v -x c++ -isystem . -c /dev/null -o /dev/null
Apple clang version 11.0.0 (clang-1100.0.33.16)
Target:…

Kan Li
- 8,557
- 8
- 53
- 93
3
votes
1 answer
Pygments command line not syntax highlighting HTML output
I am trying to take a python script and prepare it for paper printing with syntax highlighting and line numbering. I have used the following command line instruction:
pygmentize -f html -O style=colored,linenos=1 -l python -o .html…

Jack Parkinson
- 681
- 11
- 35
3
votes
3 answers
Using a cocoa command line application in Linux
I'm writing a command line tool in Objective-C (within xCode) that uses the Foundation Framework. I have to use Objective-C because I need to unarchive objects previously archived by NSKeyedArchiver.
My question is, I'm wondering if I can now use…

Dan
- 119
- 8
3
votes
1 answer
Problem with Frameworks in Command Line Tool
Before everyone starts throwing other stack-overflow and forum posts at me: I looked at them all. None of them are helping.
I have a simple cmd tool called swizzler and want to embed the SwizzleSrc framework in it. I have followed all the tutorials…

Import Accelerate
- 457
- 3
- 13
3
votes
1 answer
Determine viewport size (in characters) from command line app in Swift?
I am building a command line tool in Swift and am wondering if there is any way to determine the current width of the viewport while running the app, in order to limit the text on screen to what will fit without wrapping.
I know this is possible in…

devios1
- 36,899
- 45
- 162
- 260
3
votes
1 answer
How to test a simple command line application in Java using JUnit
How can I JUnit test my simple main method command line class which reads from system.in using Scanner and prints to system.out.
import java.util.Scanner;
public class SimpleMainCmdApplication {
public static void main(String args[]) {
…

Justin.Cooke
- 387
- 2
- 15
3
votes
2 answers
Xcode command line tools (two versions side by side)
Recently we've moved to Xcode 8 in order to compile the app with new Xcode version, but I still need to use Old Xcode (7.3.1) in order to use it's instruments with older ver of appium ...
I was wondering if there is a way to open each Xcode ver and…

Igal
- 4,603
- 14
- 41
- 66