Re: QProcess / system call not working under linux. Why?
The wildcards are processed by dcmodify and work fine for the port of this command to windows.
This is usually the case for windows ports of unix command line applications. Under unix, it is the shell that actually expands the wildcards. However under windows the command prompt does no such thing, so in the port they will usually implement this in the app themselves. Hence your QProcess works ok on windows but not on unix environment. I am not sure if this is the problem in this situation, but I have come across windows ports that do this. For example even qembed does it.
Bojan
Last edited by Bojan; 10th March 2006 at 22:57.
The march of progress:
C:
printf("%10.2f", x);
C++:
cout << setw(10) << setprecision(2) << showpoint << x;
Java:
java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
formatter.setMinimumFractionDigits(2);
formatter.setMaximumFractionDigits(2);
String s = formatter.format(x);
for (int i = s.length(); i < 10; i++) System.out.print(' ');
System.out.print(s);
Bookmarks