Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] r6467 and newer hangs when calling another instance through system() #76

Closed
Reino17 opened this issue Aug 9, 2021 · 0 comments
Closed

Comments

@Reino17
Copy link

Reino17 commented Aug 9, 2021

$ echo $PWD
[...]/xidel/source/videlibri-code_hg

https://sourceforge.net/p/videlibri/code/ci/93e9ba097affe525e1b22b81f951c867ee0df207/

$ ./programs/internet/xidel/xidel --version
Xidel 0.9.9
(20210529.6466.93e9ba097aff)

http://www.videlibri.de/xidel.html
by Benito van der Zander <benito@benibela.de>

$ ./programs/internet/xidel/xidel -se '
  for $x in 1 to 3 return
  x:lines(system(x"./programs/internet/xidel/xidel -se '\''{$x} * {$x}'\''"))[1]
'
1
4
9

https://sourceforge.net/p/videlibri/code/ci/376c9b05489d71c66bcc8582cd438340eebd0eb6/

$ ./programs/internet/xidel/xidel --version
Xidel 0.9.9
(20210529.6467.376c9b05489d)

http://www.videlibri.de/xidel.html
by Benito van der Zander <benito@benibela.de>

$ ./programs/internet/xidel/xidel -se '
  for $x in 1 to 3 return
  x:lines(system(x"./programs/internet/xidel/xidel -se '\''{$x} * {$x}'\''"))[1]
'

Nothing happens and you'd have to kill the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant