Eevee icon indicating copy to clipboard operation
Eevee copied to clipboard

PROGRAM path CANNOT be absolute path

Open mingc00 opened this issue 11 years ago • 2 comments

When program path is absolute path, an error occured.

$ ./caretaker /tmp/a.out
./caretaker: Error executing(forgot to link statically?).

mingc00 avatar Sep 07 '13 17:09 mingc00

Confirmed this bug on Ubuntu 12.04.2 x86-64

cc @Hexcles @lx75249

fanzeyi avatar Sep 07 '13 17:09 fanzeyi

Confirmed this bug.

Reason: I assumed the prgfileName is just the "filename" of the program, without path. And the following actions are based on this assumption: create tmpfile, move prgfile, run prgfile(after chroot, thus cannot include original path name). I'll try to fix this later.

Hexcles avatar Sep 10 '13 05:09 Hexcles