Hi,
If you have lots of duplicates it _might_ be faster to pass a custom
comparison function to Distinct() and then fixup the resulting strings in
the tmp list afterwards instead.
Another thing you might want to try is to check if the string actually
needs modification instead of always creating
Hi,
Another thing you might want to try is to check if the string actually
needs modification instead of always creating substrings and then
concatenating them, even if the result would be identical to the input.
This would be an interesting way to do it - the problem is that there
may be spa
Hello, I am trying to start a process in my application.
Process.Start("utility.exe", "my argument list");
As you see the "utility.exe" is in the same directory as the application itself.
Works fine for Windows and some Linux distros. But in other distros I
can't start
the utility just by "utili
Hi
Maybe You should try
1. wrap in a shell
1. create shell file utility (note no exe extension)
#!/bin/sh
/usr/bin/mono $SOMEPATH/utility.exe "$@"
2. chmod +x utility.exe
2. register exe as non-native binary
1. as root turn on the binfmt module
modprobe binfmt
I find the binfmt-misc support to be mainly controlled by distro things, so
usually for me invoking ./program.exe will wind up using the archaic mono
installed in /usr. If I were you I'd stick to running mono apps by calling
"mono program.exe args".
One possibly mad idea if the subprocess was a c#