path Questions
2
Solved
In order to work with Jaxb, I need to have a normal java.io.File Object. As I do not want to have legacy code in a quite new project, I want to use java.nio.file.Path objects.
As gradle resolves d...
5
Solved
The utility which will find a program on the path but what about an arbitrary data file?
I must be searching for the wrong stuff but I can't find any way to do this with a standard utility so I th...
4
Solved
When I execute a command using ProcessBuilder, how does it know where to look for that command? Using this hack/trick I've modified my PATH variable (verified by inspecting processBuilder.environme...
Threescore asked 20/2, 2012 at 21:27
3
Solved
script.php
$filename = realpath(sprintf("%s/%s", getcwd(), $argv[1]));
var_dump($filename);
Let's try some things
[/foo/bar/bof] $ php script.php ../foo.txt
string(16) "/foo/bar/foo...
Symbolics asked 11/5, 2014 at 4:41
2
Solved
I have a project that uses CMake and builds inside a deeply nested set of directories on Windows and typically fails due to excessive path lengths.
Based on this answer - How to set the Maximum Pat...
23
I'm trying to use pdf2image and it seems I need something called poppler :
(sum_env) C:\Users\antoi\Documents\Programming\projects\summarizer>python ocr.py -i fr13_idf.pdf
Traceback (most recent...
Manutius asked 26/11, 2018 at 12:25
3
Solved
I installed java with homebrew, using the command brew cask install java.
After successfully installing, I typed which java, and the path showed to be /usr/bin/java
When I typed brew cask info ja...
Fa asked 12/8, 2016 at 15:19
5
Solved
So I'm trying to run this really simple code on my LCD display, using an ESP32.
When I compile the code in the Arduino IDE I get no errors.
But, when I try to upload it, I get the following error:
...
4
Solved
I'm trying to use AWS CLI to access CodeCommit. And it's sort of working. I am able to use the aws command in the Windows command prompt. However, when I try to access it using the Git Bash shell, ...
Sergu asked 26/10, 2018 at 20:5
3
I'm learning to work with svg icons and now trying to directly extract icons from psd. With adobe photoshop 2017 it's possible to export image as svg code. However in this code instead of tag is ge...
13
Solved
I am using Ubuntu and I am tired of this long prompts in bash when I am working with some deep directory hierarchy. So, I would like to tweak my PS1 to shorten the working directory part the follow...
3
Solved
I'm beginner in programming. Can somebody please explain (by simple words) what do I have inside the bin directory of program?
What is this PATH environment variable of windows, how does it work (...
2
Solved
I'm writing a program in Rust that creates a file at a user-defined path. I need to be able to normalize intermediate components (~/ should become $HOME/, ../ should go up a directory, etc.) in ord...
5
I'm following the flutter + firebase codelab, and I'm stuck at configuring firebase in my android app, I've already installed the flutterfire cli globally on my machine and exported the bin in my p...
6
I just installed Homebrew and now I'm trying to insert the homebrew directory at the top of my path environment variable by typing in two commands inside my terminal. My questions are these:
What i...
Tasteless asked 28/2, 2016 at 0:1
6
Solved
This machine has had multiple version of Java JDK installed and multiple version of multiple IDEs (Netbeans, IntelliJ, Eclipse, etc.) Most recently, I have added JDK 15.0.2 and Netbeans 12.2. When ...
Firstclass asked 5/2, 2021 at 17:49
4
Solved
I'm using Mac OS X, iTerm2, zsh and Tmux via Homebrew. When I start a Terminal session in iTerm2, the global PATH variable looks still fine. But when I open up a Tmux session the PATH variable is e...
9
When I start Visual Studio Code with a python file I started getting the following error
The environment variable 'Path' seems to have
some paths containing characters (';', '"' or ';;').
The ex...
Barra asked 22/6, 2018 at 13:56
6
Solved
I am wondering which path should be set in "Interpreter path" area in Run/Debug Configurations in IntelliJ, to complie and run bash script.
Using IntelliJ 15.0.3 on Windows 7
Kerseymere asked 25/2, 2016 at 12:58
5
Solved
As stated in the title, I need to determine when a program is ran if the path is relative or absolute:
./program #relative
dir/dir2/program #relative
~User/dir/dir2/program #absolute
/home/User/di...
4
I'm going through this tutorial on discord.js. When I ran the code as written, I got errors like SyntaxError: Cannot use import statement outside a module.
So, I added "type": "modul...
Contrarily asked 1/6, 2022 at 4:42
3
Solved
I am just wondering if it's possible to create a WPF application that allows users to use a certain pen to plot directions to make a certain path and able to display the path data.
The idea is alm...
5
Solved
How can I change the $PATH variable in Debian? I tried to change /etc/profile but this affected only normal users (and yes, I added path to BOTH user's and root's paths).
After that I tried to edi...
Caroleecarolin asked 31/8, 2011 at 13:47
5
I am trying to get the location of currently running process on your computer using PowerShell.
Example
C:\Program Files (x86)\Mozilla Firefox
C:\Windows\sysWOW64\WindowsPowerShell\v1.0
C:\Progra...
Heliotype asked 13/7, 2015 at 2:25
5
Solved
Say I put an executable tcsh file in /path/to/my_script.csh
and my current directory is anywhere, for example I'm in /path
So I type to/my_script.csh
I want to have a line in my_script.csh that ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.