You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using Eclipse CDT I set an environment variable which is used in a bash script run by popen(). The value of the variable has been prefixed with a quotation mark.
To Reproduce
Steps to reproduce the behavior:
IN application configuration define a variable
Using CDT run a debug build of an application that includes a popen() of a script
In the script do an echo $variable > test.txt
Examine the file test.txt and see that the environment variable is prefixed with a quotation mark.
Expected behavior
The environment variable should have the value set.
Describe the bug
Using Eclipse CDT I set an environment variable which is used in a bash script run by popen(). The value of the variable has been prefixed with a quotation mark.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The environment variable should have the value set.
Screenshots
#! /bin/bash
echo $NOVOHLA >novohla.txt
....
awk -v G=$G 'BEGIN {LG=length(G)} /^>/ {if(substr($1,2,LG) != G) {P=0; next} P=1;} P==1 {print}' $NOVOHLA/all.nuc_only.fa
cat novohla.txt
"/st2/IMGTHLA/novoHLA-X500
awk: cmd. line:1: fatal: cannot open file `"/st2/IMGTHLA/novoHLA-X500/all.nuc_only.fa' for reading: No such file or directory
Version Information (please complete the following information):
-Ubuntu MATE 22.04.04
Build id: 20240307-1437
Additional context
Nothing else.
The text was updated successfully, but these errors were encountered: