342 questions
2
votes
2
answers
101
views
Is it possible to force a spawned process's controlling tty into the same state as it would be under interact?
Consider the following expect script, which attempts to automate an approval flow that is managed by a program X that we lack the source code for:
eval spawn $argv
set timeout -1
expect -ex {Approve ...
1
vote
0
answers
35
views
Unable to compile gcc installed from Homebrew [duplicate]
I have mac silicon M1:
% uname -m
arm64
and macOS = Sequoia:
% sw_vers
ProductName: macOS
ProductVersion: 15.3.1
BuildVersion: 24D70
I have command line tools installed:
% pkgutil --...
0
votes
0
answers
64
views
How to get CommandLineTools to use a different version of Python
I am using this C# code to call a python script.
Process.StartInfo = new ProcessStartInfo()
{
FileName = @"/usr/bin/python3",
Arguments = $@"{cmd} {args}", // cmd is the ...
0
votes
0
answers
80
views
Entrypoints problem with setuptools for making my script executable
I have been developing a small python-based package that contains multiple scripts that are to be used as command line tools in linux environment.
This has a typical package structure:
MyPackage/
├── ...
0
votes
1
answer
128
views
How exit replxx using SigInt from another thread
I use replxx as modern command-line tool. I found example but in this example there is only one thread. I make separated thread for replxx, from main thread I want ask replxx to exit... How do it?
I ...
1
vote
1
answer
157
views
async/await usage inside console app in macOS
I’m quite new to async/await concept in Swift. So I’ve developed a small playground for myself:
import Foundation
func dummyLoop() async {
print("inside dummy fcn")
for i in 0 ..<...
0
votes
1
answer
75
views
Unable to deploy Flutter on Android
Flutter web and desktop apps are working perfectly fine, but not getting deployed on Android device.
Flutter 3.19.6 (latest)
Android Studio - Jellyfish 2023.3.1 (latest)
gradle 7.6.3
Java JDK - 19 (...
0
votes
1
answer
102
views
Android CLT: SDK Manager not found
I have installed Android Command Line Tools on Windows 10. I am unable to install Android Studio.
I have then installed the files needed to run Android Command Line Tools. When I run flutter doctor -v,...
1
vote
0
answers
415
views
Xcode 15.3, use xcodebuild to build app, error: "TARGET" requires a provisioning profile xxxxx
Everything is ok util upgrade to xcode15.3 and macos14.0.
When I use xcodebuild to build my app, some error occured:
error: "ShopAssistant" requires a provisioning profile with the ...
0
votes
0
answers
251
views
sdkmanager --list Exception in thread "main"
In an attempt to list all available Android SDK packages, I used windows terminal and navigated to the %ANDROID_HOME%/tools/bin directory on Windows 10 Pro. I then tried running the Android " ...
-3
votes
1
answer
108
views
Command line script to pretty print Java serialized objects in logs?
I have to review lots of java logs from various sources, that contain java objects dumped to a single long line. Sometimes I'd like to see them in a more formatted fashion. Note that I'm not in ...
2
votes
3
answers
215
views
Extract embedded XML data from an Audio File in windows
We have a platform that records our callcentre calls and at the end of the wav file adds some xml that holds important metadata about that call.
I'm trying to read a folder of these wav files and pull ...
0
votes
1
answer
305
views
Can't run command line tool created with SPM from Xcode
I've created a command line tool using SPM. (I also added swift-argument-parser the project.)
I can open the package.swift file and Xcode opens a simulated project that lets me view, edit, and build ...
0
votes
1
answer
135
views
Exit command line Network.framework app that uses dispatch_main()
Playing with low-level networking code in several languages on several platforms, I followed this example from the Apple developer forum to get a Network.framework example working.
It works great but ...
0
votes
1
answer
312
views
Need a connection to Azure Kubernetes for my own CLI Tool
The following scenario
I have written my own CLI tool with python and want to establish a connection to the AKS. As I found out it is only possible with REST API (if there are other ways please let me ...