Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4630 > unrolled thread
| Started by | "McHale, Paul" <Paul.McHale@excelitas.com> |
|---|---|
| First post | 2011-08-28 08:10 +0000 |
| Last post | 2011-08-28 08:10 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: undocumented limits on subprocesses? "McHale, Paul" <Paul.McHale@excelitas.com> - 2011-08-28 08:10 +0000
| From | "McHale, Paul" <Paul.McHale@excelitas.com> |
|---|---|
| Date | 2011-08-28 08:10 +0000 |
| Subject | Re: undocumented limits on subprocesses? |
| Message-ID | <j3ct5c$5mn$1@smc.vnet.net> |
I don't know if this will help, but I use: mList = ReadList[ "!c:\\python27\\python.exe " <> NotebookDirectory[] <> "NetGetInfo.py 192.168.192.201", Record] To execute command lines. It may work better. So far, it has executed all code I can find for it to run. Paul McHale | Electrical Engineer, Energetics Systems | Excelitas Technologies Corp. Phone: +1 937.865.3004 | Fax: +1 937.865.5170 | Mobile: +1 937.371.2828 1100 Vanguard Blvd, Miamisburg, Ohio 45342-0312 USA Paul.McHale@Excelitas.com www.excelitas.com Please consider the environment before printing this e-mail. This email message and any attachments are confidential and proprietary to Excelitas Technologies Corp. If you are not the intended recipient of this message, please inform the sender by replying to this email or sending a message to the sender and destroy the message and any attachments. Thank you -----Original Message----- From: algal [mailto:alexisgallagher@gmail.com] Sent: Friday, August 26, 2011 5:27 AM Subject: undocumented limits on subprocesses? Hi, I am trying to understand why a command-line utility I have written always crashes only when I try to call it from Mathematica. Are there little-documented limits on what child processes can do -- e.g., on memory allocation, handling of the environment, etc.? The command-line utility is a large (70MB) standalone binary executable produced by Steel Bank Common Lisp (SBCL). It queries the network and prints csv-formatted data to stdout. I've been able to run it successfully from the command line, from shell scripts, from R, and from Python. But when I try to run it from Mathematica, using Export or OpenRead, the binary crashes. I don't have this problem when I use Mathematica merely to call a similar executable which only prints prints a thousand lines of "Hello, World" (roughly the number of lines of the actual utility), so the problem depends on the computation done by the binary. Any suggestions or pointers appreciated.
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web