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
I tried to make the Pyrus script executable so that I could run it directly without having to preppend php and a full path name every time I want to run it. When I do this, the process gets stuck in a loop using up 100% of one CPU and eventually I have to kill it. If I run "php ./pyrus" the script runs as expected.
This works fine for other scripts I've written myself, not to mention Composer, Artisan, etc. so I'm not sure what the problem is, but suspect it has something to do with the binary code contained in the phar file. Please fix this so taht we can run pyrus from our path just like any other executable script!
This is using Pyrus 2.0.0a4. Here is an strace of the script looping over the following 7 lines indefinitely until I kill it:
execve("/home/hackel/.local/bin/pyrus", ["/home/hackel/.local/bin/pyrus"], [/* 75 vars */]) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
The text was updated successfully, but these errors were encountered:
I tried to make the Pyrus script executable so that I could run it directly without having to preppend php and a full path name every time I want to run it. When I do this, the process gets stuck in a loop using up 100% of one CPU and eventually I have to kill it. If I run "php ./pyrus" the script runs as expected.
This works fine for other scripts I've written myself, not to mention Composer, Artisan, etc. so I'm not sure what the problem is, but suspect it has something to do with the binary code contained in the phar file. Please fix this so taht we can run pyrus from our path just like any other executable script!
This is using Pyrus 2.0.0a4. Here is an strace of the script looping over the following 7 lines indefinitely until I kill it:
execve("/home/hackel/.local/bin/pyrus", ["/home/hackel/.local/bin/pyrus"], [/* 75 vars */]) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
The text was updated successfully, but these errors were encountered: