liberize / ssc

Convert shell script to binary
GNU General Public License v3.0
67 stars 21 forks source link

about ssc #39

Closed scriptvpskita closed 5 days ago

scriptvpskita commented 1 week ago

i really love your job

anyway i want to ask you questions. how to change /fd/3 to another path ?

liberize commented 1 week ago

I see only one way to do this, create a symlink to /dev/fd/3 and pass it to the interpreter. There are some limitations though, you cannot use the same name as your binary because the symlink are created at current directory unless an absolute path is specified. You can use /tmp/xxx or .xxx of course.

liberize commented 5 days ago

added -n flag.