Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11211 > unrolled thread
| Started by | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| First post | 2012-08-05 01:53 +0000 |
| Last post | 2012-08-06 08:42 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
PDF.exe inside Mathematica.app on OS X Murray Eisenberg <murray@math.umass.edu> - 2012-08-05 01:53 +0000
Re: PDF.exe inside Mathematica.app on OS X awnl <awnl@gmx-topmail.de> - 2012-08-05 18:59 +0000
Re: PDF.exe inside Mathematica.app on OS X "Nasser M. Abbasi" <nma@12000.org> - 2012-08-06 08:42 +0000
| From | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| Date | 2012-08-05 01:53 +0000 |
| Subject | PDF.exe inside Mathematica.app on OS X |
| Message-ID | <jvkjmv$5uc$1@smc.vnet.net> |
When certain 3D graphics is rendered in Mathematica 8.0.4 on my Mac under OS X (10.7.4), I can see from the Mac's Activity Monitor that a process PDF.exe is activated. And inside the Mathematica.app package there's a file: /Applications/Mathematica.app/SystemFiles/Converters/Binaries/MacOSX-x86-64/PDF.exe I thought .exe always referred to a Windows PC executable. What's going on here? --- Murray Eisenberg murray@math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
[toc] | [next] | [standalone]
| From | awnl <awnl@gmx-topmail.de> |
|---|---|
| Date | 2012-08-05 18:59 +0000 |
| Message-ID | <jvmfqo$9no$1@smc.vnet.net> |
| In reply to | #11211 |
> When certain 3D graphics is rendered in Mathematica 8.0.4 on my Mac > under OS X (10.7.4), I can see from the Mac's Activity Monitor that a > process PDF.exe is activated. And inside the Mathematica.app package > there's a file: > > > /Applications/Mathematica.app/SystemFiles/Converters/Binaries/MacOSX-x86-64/PDF.exe > > I thought .exe always referred to a Windows PC executable. What's > going on here? Nothing special, on unix-like systems as OS X a "binary executable file" can have any file extension you want (or none, which is actually the standard convention). To give a binary executable the extension .exe is perfectly valid, although somewhat unusual. I think WRI did choose that extension to keep things as uniform across platforms as possible, it doesn't mean these executables have anything to do with Windows. I haven't tried, but I'm sure you can check that they are normal executables for your OS. The interesting thing to note is that many import and export functions are actually implemented as external executables running in extra processes, presumably connected by Mathlink. That has been the case for many versions. In newer versions, some of the export-functions are implemented or have been changed to Java, though. And some might be implemented "natively", so you won't see such extra processes for all available formats. What's not so clear is why the rendering of 3D graphics would cause the PDF import/export process to be started... hth, albert
[toc] | [prev] | [next] | [standalone]
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Date | 2012-08-06 08:42 +0000 |
| Message-ID | <jvo01h$cee$1@smc.vnet.net> |
| In reply to | #11228 |
On 8/5/2012 1:59 PM, awnl wrote: >> When certain 3D graphics is rendered in Mathematica 8.0.4 on my Mac >> under OS X (10.7.4), I can see from the Mac's Activity Monitor that a >> process PDF.exe is activated. And inside the Mathematica.app package >> there's a file: >> >> >> /Applications/Mathematica.app/SystemFiles/Converters/Binaries/MacOSX-x86-64/PDF.exe >> >> I thought .exe always referred to a Windows PC executable. What's >> going on here? > > Nothing special, on unix-like systems as OS X a "binary executable file" > can have any file extension you want (or none, which is actually the > standard convention). To give a binary executable the extension .exe is > perfectly valid, although somewhat unusual. I think WRI did choose that > extension to keep things as uniform across platforms as possible, it > doesn't mean these executables have anything to do with Windows. I > haven't tried, but I'm sure you can check that they are normal > executables for your OS. > Actually, I found a bug using firefox when I download a .exe file. When the same file does NOT have a .exe in the name, then the file is downloaded corrupted. It was always missing 200 bytes or so. Using normal download of any file, i.e. using SAVE LINK AS--> then download the file. I added .exe to the same exact file, and download it, now all the bytes are downloaded, and I can run the file just fine on my PC. I know it is not good idea to download a .exe from a web site, but it is my site, and I had some demos there I build on Linux and was checking the files by downloding them, when I found this problem. I think what happens is that the browser uses binary transmission when it sees .exe in the name, otherwise, with no extension, it was using ASCII transmission, and hence this results in corrupted the file. Any way, having an extension .exe added to exeutable name is good idea, even on linux if for no reason other than to allow one to see that the file is an executable just from the name. Otherwise, one needs to use the file() command on Linux to find out the file type. This is one thing I can think of that windows did correctly compared to Unix/Linux :) --Nasser
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web