On Sat, 23 Jan 2016 01:14:29 +0100
- Raqua - <raquacont...@gmail.com> wrote:

> That is a good idea, unfortunatelly, it does not work either. :(
> 
> I have created file like this:
> #!/bin/bash
> echo "x" > /home/raqua/packer.txt
> /usr/bin/xz -T $(nproc) "$@"
> 
> 
> I have pointed Krusader in dependencies to this file instead
> of /usr/bin/xz. I have tested that invoking this file manually worked.
> When I initiated compresion from Krusader, it worked fine, but used
> only once thread. After some debugging I found out, that it is still
> using the original xz dependency, even though it shows otherwise in
> settings (I have restarted Krusader in between).
> The packer.txt file in my home was not created.
> So I changed xz back and ser my script instead of "rar" which I have
> not installed and therefore there was an empty slot in dependencies
> GUI. This time, when invoked, packer.txt file was created, but no
> archive was done. This, however probably failed due to differences
> between rar and xz API. But it confirmed my suspicion that original
> xz is called instead my xz wrapper from Krusader.

That's some good investigative work. I can re-create the bug, except
the created "-T 4" is a valid archive that contains the file you packed.

I think the only way forward now is to check the source code to see
what it's doing. Probably it's passing the "-T 4" switch after the "-f"
switch; that's the problem.

PS: On mailing lists it's better to not top post (that means you should 
put your reply after the quoted text, not before).

-- 
You received this message because you are subscribed to the Google Groups 
"krusader-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to krusader-users+unsubscr...@googlegroups.com.
To post to this group, send email to krusader-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/krusader-users/20160123131834.5e12559b%40myarch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to