Re: [Mono-dev] sub-process invocation on posix

2013-06-10 Thread Michael Hutchinson
FWIW, you actually just need to double quote each argument and escape double quotes so you can very easily write a helper to do this in a way that works on both Mono and .NET: static Process StartProcess (string name, params string[] args) { string a = null; if (args != null args.Length

Re: [Mono-dev] sub-process invocation on posix

2013-06-10 Thread Ian Norton
I kind of already have a thing to do that, feels a bit icky though, especially as there must be some thing lower down that undoes the joined up string into a char** again. :) On 10 June 2013 16:06, Michael Hutchinson m.j.hutchin...@gmail.com wrote: FWIW, you actually just need to double quote

Re: [Mono-dev] sub-process invocation on posix

2013-06-10 Thread Greg Najda
The Windows CreateProcesshttp://msdn.microsoft.com/en-us/library/windows/desktop/ms682425%28v=vs.85%29.aspxfunction takes command line arguments as a single string. This detail leaked into the .NET Process class. Windows programs with a

Re: [Mono-dev] mono WebResponse caching

2013-06-10 Thread Mark Lintner
Good ideas. The MemoryCache in System.Runtime.Caching seems interesting but it is for our purposes inaccessible because the dll it lives in has a dependency on the System.dll and System.dll already has 3 cross dependencies. Still its not impossible. It seems like everything in the

Re: [Mono-dev] mono WebResponse caching

2013-06-10 Thread Daniel Lo Nigro
It appears that LastModified is always set to the datetime when the response comes back from the server It's up to the server to set the Last-Modified header correctly. ASP.NETsets it to the current date by default, but pages can override this. What I meant with my nice to have was cache

Re: [Mono-list] How to start a process? (Crossplatform)

2013-06-10 Thread Sergey Khabibullin
Thank you all for response! Ended up with checking platform at runtime. On Thu, Jun 6, 2013 at 2:08 PM, Sergey Khabibullin x2b...@gmail.com wrote: 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

[Mono-list] mkbundle and cross compiling for ARM

2013-06-10 Thread markcoburnwa
I am interested in using mkbundle (without the static option) to simplify deployment of a mono application to an ARM device. I have successfully cross-compiled mono using my ARM toolchain. I also compiled mono on the host machine without the cross compiler so I can compile my mono app using

Re: [Mono-list] mkbundle and cross compiling for ARM

2013-06-10 Thread Jonathan Pryor
On Jun 10, 2013, at 7:56 PM, markcoburnwa mcob...@globalscape.com wrote: Unfortunately, I get unrecognized symbol type assembler errors. The problem is that there is not just one style of assembly. There are multiple styles, for varying conventions, in order to appease the default assembler