Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
2 answers
163 views

I have a simple problem -- I have multiple threads that are doing appends to a file, based upon a file name that the user can choose. At first, I tried to synchronize on instances of Path, but after ...
0 votes
3 answers
229 views

I have following folder structure created via mkdir -p foo subdir/bar && ln -s subdir/bar bar ├── bar -> subdir/bar ├── foo └── subdir └── bar when working in bar folder: How can I ...
2 votes
1 answer
568 views

We have a problem in our NodeJS environment on the servers of ProfiHost (German provider) using Vite in a VueJS app. Installing the deps via npm i works fine. However, the build via npm run build ...
1 vote
1 answer
2k views

realpath ~/test outputs /home/<user>/test. Now, I have to use this in my bash script, so I have the path stored in a variable. If I run the below commands in my shell it works. export REMOTE_DIR=...
0 votes
1 answer
1k views

I have a strange situation and not sure how to debug further. I need to get the real path of a selected image from the gallery so I can upload it to a server via an API. It works perfectly that I ...
Joe's user avatar
  • 21
1 vote
1 answer
927 views

Im trying to get the path of text file , when i use the method "realpath" & #include<stdlib.h> ,the compiler gives me an error message :"undefined reference to realpath"
Heba's user avatar
  • 11
0 votes
1 answer
409 views

I wanted a function to return the absolute path given a relative path to an existing file. Searching online I came across realpath here: https://stackoverflow.com/a/229038/19637794 And followed the ...
0 votes
1 answer
280 views

I want to pass an argument of a specific file location using realpath() (example: /var/log/message) and by using fprintf print the content of this file on the terminal. This is the code I have so far: ...
tuatara's user avatar
  • 23
0 votes
0 answers
322 views

I have two amazon EC2 instances with different CPU architectures. x86_64 ubuntu 20.04 arm64 ubuntu 22.04 Both are running the same docker service. However, each service is based on the corresponding ...
0 votes
1 answer
128 views

This line gets absolute path, i used output to pass it to rsync, but rsync wants relative path find /www-data/ -type f -exec sh -c 'if ! lsof `readlink -f {}` > /dev/null; then echo `realpath {}`; ...
0 votes
0 answers
1k views

I run #!/bin/bash id="~/.ssh/foo" realpath ~/.ssh/foo realpath "~/.ssh/foo" realpath $id realpath "$id" expecting 4 identical lines of output, with no errors. What I ...
1 vote
2 answers
2k views

I'm using the File Picker library. Permission code: if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R || Environment.isExternalStorageManager()) { //Toast.makeText(this, ...
2 votes
0 answers
455 views

Recently, I tried to install pypoetry on my windows. The python I used was installed from MS store. And I found something strange. C:\Users\Liu.D.H>where python C:\Users\Liu.D.H\AppData\Local\...
Donghua Liu's user avatar
  • 2,368
1 vote
2 answers
699 views

Trying to install on High Sierra: $ sudo /opt/local/bin/port install realpath ---> Fetching archive for realpath ---> Attempting to fetch realpath-1.0.1_1.darwin_17.x86_64.tbz2 from https://...
0 votes
0 answers
2k views

I am trying to build JAX with CUDA from source on my windows laptop. I have installed MSYS2. I am following the instructions given here However, I am unable to install realpath using pacman -S patch ...

15 30 50 per page
1
2 3 4 5
...
9

AltStyle によって変換されたページ (->オリジナル) /