search for: create_process

Displaying 19 results from an estimated 19 matches for "create_process".

2016 Aug 02
0
[PATCH] mllib: check for executable existance in run_command (RHBZ#1362357)
run_command uses Unix.create_process which forks a child process, and executes execve: the latter fails when the executable does not exist, triggering the exit which, in older OCaml versions [1], also runs the at_exit handlers. Since there is not much that can be done to avoid this on the OCaml side, to keep run_command working also...
2010 Jul 31
3
Installing iTunes on Linux Mint Isadora 9
Hi all, I have downloaded the latest version of wine in order to run iTunes but when I tried to execute the program here is what I get : cd /home/sally/Documents $ wine iTunes64Setup.exe Trying to load PE image for unsupported architecture (AMD-64) err:process:create_process starting 64-bit process L"Z:\\home\\sally\\Documents\\iTunes64Setup.exe" not supported on this platform wine: Mauvais format EXE pour Z:\home\sally\Documents\iTunes64Setup.exe Thanks for your help, Regards Sally
2016 Aug 02
2
[PATCH] mllib: move which and its exception from dib
Rename it from "tool" to "executable" in the process, but otherwise it is just code motion (with minimal adjustments in dib). --- dib/dib.ml | 2 +- dib/utils.ml | 16 +--------------- mllib/common_utils.ml | 14 ++++++++++++++ mllib/common_utils.mli | 9 +++++++++ 4 files changed, 25 insertions(+), 16 deletions(-) diff --git a/dib/dib.ml b/dib/dib.ml
2016 Aug 02
1
Re: [PATCH] mllib: check for executable existance in run_command (RHBZ#1362357)
On Tue, Aug 02, 2016 at 07:14:09PM +0200, Pino Toscano wrote: > run_command uses Unix.create_process which forks a child process, and > executes execve: the latter fails when the executable does not exist, > triggering the exit which, in older OCaml versions [1], also runs the > at_exit handlers. > > Since there is not much that can be done to avoid this on the OCaml > side, to...
2017 Apr 07
1
[PATCH 1/2] mllib: add new Common_utils.run_commands
...ame.is_relative app then which app + else (Unix.access app [Unix.X_OK]; app) in + let outfd = get_fd Unix.stdout out in + let errfd = get_fd Unix.stderr err in + if echo_cmd then + debug "%s" (stringify_args args); + let pid = Unix.create_process app (Array.of_list args) Unix.stdin + outfd errfd in + Some (i, pid, app, out, err) + with + | Executable_not_found _ -> + res.(i) <- 127; + None + | Unix.Unix_error (errcode, _, _) when errcode = Unix.ENOENT -> +...
2017 Jun 20
2
[PATCH v2 1/2] mllib: add new Common_utils.run_commands
...st.hd args in + let get_fd default = function + | None -> + default + | Some fd -> + Unix.set_close_on_exec fd; + fd + in try let app = if Filename.is_relative app then which app else (Unix.access app [Unix.X_OK]; app) in - let pid = - Unix.create_process app (Array.of_list args) Unix.stdin - Unix.stdout Unix.stderr in - let _, stat = Unix.waitpid [] pid in - match stat with - | Unix.WEXITED i -> i - | Unix.WSIGNALED i -> - error (f_"external command ā€˜%sā€™ killed by signal %d") - (stringify_args args) i...
2017 Jun 20
0
[PATCH v2 2/2] dib: use Common_utils.run_commands
..._checksum csum in let outfd = Unix.openfile csum_fn file_flags 0o640 in - Unix.set_close_on_exec outfd; - let args = [| csum_tool; fn; |] in - Common_utils.debug "%s" (stringify_args (Array.to_list args)); - let pid = Unix.create_process csum_tool args Unix.stdin - outfd Unix.stderr in - (pid, csum_tool, outfd) + [ csum_tool; fn ], Some outfd, None ) checksums in - let pids = ref pids in - while !pids <> [] do - let pid, stat = Unix.waitpid [...
2010 Aug 20
2
Dragon Age Installer: starting 64-bit process not supported
.... It's wine-1.3.0 Package details are here (http://www.archlinux.org/packages/community/x86_64/wine/) if it helps... When I launched the autorun.exe or setup.exe I got this output in the terminal Code: wine autorun.exe Trying to load PE image for unsupported architecture (AMD-64) err:process:create_process starting 64-bit process L"E:\\autorun.exe" not supported on this environment So I think it's related to the wine package I use. I removed it. Then I installed the wine_64 (http://aur.archlinux.org/packages.php?ID=31307)package from the AUR. When starting setup.exe I got an arror p...
2011 Nov 12
3
Wine Doesn't Load Anything?
It wouldn't load Synthasia, so I tried a couple other softwares, all wouldn't work. So then I tried running Notepad with Wine and it still didn't work! I don't know what's wrong. It's not giving me an error, it's just not doing anything at all.
2011 Apr 25
1
return code 10 in the R documentation
...21 16:20:06 Output file: C:\condor\execute\dir_280\AddTwo.out 04/21 16:20:06 Error file: C:\condor\execute\dir_280\AddTwo.error 04/21 16:20:06 Renice expr "10" evaluated to 10 04/21 16:20:06 About to exec C:\condor\execute\dir_280\condor_exec.exe sim_boot_omega_3_1_3.R 04/21 16:20:06 Create_Process succeeded, pid=2644 04/21 16:20:06 Process exited, pid=2644, status=10 Any Ideas on this are aprreciated.. Thanks -- View this message in context: http://r.789695.n4.nabble.com/return-code-10-in-the-R-documentation-tp3472470p3472470.html Sent from the R help mailing list archive at Nabble.com.
2011 Sep 17
1
How to install 64bit softwares in Wine
...terminal :P... So, I'm kind of lost now.. Here is an example of what happens when I try to install a 64-bit windows application (iTunes in particular) > > imran at imran-desktop:~$ cd ~/Desktop/ > imran at imran-desktop:~/Desktop$ wine "iTunes64Setup.exe" > err:process:create_process starting 64-bit process L"Z:\\home\\imran\\Desktop\\iTunes64Setup.exe" not supported in 32-bit wineprefix > wine: Bad EXE format for Z:\home\imran\Desktop\iTunes64Setup.exe >
2018 Oct 26
0
Wine release 3.19
...#39;t a tablet. dwmapi: Fill in function names of documented ordinals. dwmapi: Add stub DwmpGetColorizationParameters. wintab32: Change the LoadTabletInfo failure message from ERR to TRACE. Alexandre Julliard (24): kernel32: Pass the standard process parameters structure to create_process(). kernel32: Pass the standard process parameters structure to fork_and_exec(). widl: Support generating multiple typelibs into the same resource file. ntdll: Store a copy of the environment in RtlCreateProcessParametersEx(). ntdll: Fixup size of the current directory in Rtl...
2010 Aug 04
6
64-bit chess engines and wine 1.2
....2 max at ub64:~/Downloads$ ll st* -rw-r--r-- 1 max max 357888 2010-07-02 12:22 stockfish-18-64-ja.exe -rw-r--r-- 1 max max 919965 2010-08-03 18:14 stockfish-18-win.zip max at ub64:~/Downloads$ wine ./stockfish-18-64-ja.exe Trying to load PE image for unsupported architecture (AMD-64) err:process:create_process starting 64-bit process L"Z:\\home\\max\\Downloads\\stockfish-18-64-ja.exe" not supported on this environment wine: Fehlerhaftes EXE-Format f?r Z:\home\max\Downloads\stockfish-18-64-ja.exe I tested the 64-bit versions of these free chess engines Hannibal 1.0a: http://sites.google.com/...
2016 May 23
0
[PATCH 5/5] mllib: add a new run_command helper
...0332510..2fcbbae 100644 --- a/mllib/common_utils.ml +++ b/mllib/common_utils.ml @@ -679,6 +679,21 @@ let external_command ?(echo_cmd = true) cmd = ); lines +let run_command ?(echo_cmd = true) args = + if echo_cmd then + debug "%s" (stringify_args args); + let pid = + Unix.create_process args.(0) args Unix.stdin Unix.stdout Unix.stderr in + let _, stat = Unix.waitpid [] pid in + match stat with + | Unix.WEXITED i -> i + | Unix.WSIGNALED i -> + error (f_"external command '%s' killed by signal %d") + (stringify_args args) i + | Unix.WSTOPPED i -&g...
2018 Sep 28
0
Wine release 3.17
...potential size overflow for empty object attributes. ntoskrnl/tests: Fix error check that fails on Windows. server: Align object attributes to a DWORD-boundary. server: Allow specifying the security descriptor for a new thread. server: Move initial thread creation out of the create_process() function. server: Specify the process in which to create a new thread. server: Create the initial thread as a separate request. server: Allow specifying the security descriptor for a new process. server: Store the process exe file in the process structure. server: Do...
2017 Feb 02
7
[PATCH 0/6] dib: various improvements
Hi, this series improves virt-dib, adding some upstream changes, and refactoring the handling of output formats. Thanks, Pino Toscano (6): dib: clear up "already provided" message dib: add --checksum dib: pass custom mkfs options after the filesystem type dib: refactor output formats handling dib: clarify "output:" lines in --machine-readable documentation dib:
2018 Aug 17
8
[PATCH v3 4/4] v2v: Add --print-estimate option to print copy size
I rethought this again, as I think that it's a dangerous assumption to bake qemu-img measure output into our API. This patch series runs qemu-img measure behind the scenes, but then parses the output and sums it to a single number which we print. Doing that required a bit of reworking, moving the Jansson [JSON parser] bindings from virt-builder into the common directory and a couple of other
2016 May 23
7
[PATCH 1/5] mllib: make external_command echo the command executed
Add an optional parameter to disable this behaviour, so the Curl module in v2v won't print user-sensible data (like passwords). --- builder/checksums.ml | 1 - builder/downloader.ml | 1 - builder/sigchecker.ml | 1 - mllib/common_utils.ml | 4 +++- mllib/common_utils.mli | 7 +++++-- v2v/curl.ml | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git
2019 Apr 08
12
[PATCH 00/11] v2v: Change virt-v2v to use nbdkit for input in several modes.
This series (except the last one) changes virt-v2v to use nbdkit for several input modes: -i vmx -it vddk: No change in functionality, as this already uses nbdkit-vddk-plugin, but the code is refactored for the other modes to use. -i libvirtxml: Use nbdkit-curl-plugin instead of qemu curl. vCenter: Use nbdkit-curl-plugin instead of qemu curl. xen: Use nbdkit-ssh-plugin instead of qemu