344 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
2
answers
78
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
34
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
28
views
Android UI automation test cases specific to background task are failing in emulator created by command-line tools
I have a set of UI test cases in my project. If I run the test case in emulator (created from android studio) or device via gradlew command or android studio run configuration, all test cases are ...
0
votes
0
answers
62
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
60
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/
├── ...
-2
votes
1
answer
100
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 ...
user avatar
anon
1
vote
1
answer
149
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
73
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
96
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
401
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
224
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
101
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
195
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
284
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
128
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 ...