search for: popen2

Displaying 8 results from an estimated 8 matches for "popen2".

Did you mean: popen
2011 Aug 23
0
xe vm-export fails on debian squeeze
...-c'', ''-m'', ''VHD-a3ede265-e6af-4216-86a1-45f8283eae45'', ''-l'', ''VG_XenStorage-425877f7-3986-26fc-1254-35813e8c037c'', ''-a''] failed (22): ], /usr/lib/xen-common/xapi/sm/util.py:17: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import os, re, sys, popen2, subprocess The vhd-util command fails with error 22. Any ideas on how to go about troubleshooting this? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists...
2011 Aug 15
0
Problem importing virtual disk
...0 filename=c2_appliance.disk.xm The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: Caught exception: SR_BACKEND_FAILURE: [ non-zero exit; ; /usr/lib/xen-common/xapi/sm/util.py:17: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import os, re, sys, popen2, subprocess Traceback (most recent call last): File "/usr/lib/xen-common/xapi/sm/LVMSR", line 1959, in <module> SRCommand.run(LVHDSR, DRIVER_INFO) File "/usr/lib/xen-common/xapi/sm/SRCommand....
2020 Mar 13
7
pipe(): input to, and output from, a single process
hi. i'd like to instantiate sed(1), send it some input, and retrieve its output, all via pipes (rather than an intermediate file). my sense from pipe and looking at the sources (sys-unix.c) is that is not possible. is that true? are there any thoughts of providing such a facility? cheers, Greg
2002 Nov 20
1
Controlling smbclient from python weirdness
...ailable As I look for the command prompt to know smbclient has finished giving me the reply, this messes things up. I control smbclient via popen4() in python2.1. I've found this strange placement in the prompt to be the reason my code isn't working, via running smbclient like this: c = popen2.Popen4("smbclient //machine/c -N | tee /tmp/smb_out.txt) And watching smb_out.txt (Popen3() acts the same way). Is this likely to be an issue with how python talks to the process ? I have not included a test case in this mail because it would make it longer than it already is, but can provid...
2020 Mar 16
0
pipe(): input to, and output from, a single process
...etrieve | its output, all via pipes (rather than an intermediate file). | | my sense from pipe and looking at the sources (sys-unix.c) is that is | not possible. is that true? are there any thoughts of providing such a | facility? Octave had this already in the 1990s, see documentation for 'popen2' here: https://octave.org/doc/v4.2.1/Controlling-Subprocesses.html As it says 'Start a subprocess with two-way communication'. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
2004 Oct 06
0
Open3 progress
...suite, a sample program and some of the usual files (README, etc). This is just Park''s win32_popen package stripped down and modified to match the Open3 API. So far, so good. For the first release, I''ve decided that we should strip it down to popen3 only. We can always add popen2 and popen4 back in later. Also, I''ve dropped support for Win9x or ME. What''s left? Well, I need to write the docs yet. Also, I need to write some tests for the modes and generally figure out how modes work for popen3 on Win32. Any help or docs in that area appreciated. :)...
2011 Jul 17
19
XAPI on debian installation issue
Hi, I''m currently trying to install xapi on debian (unstable), following the following wiki page: http://wiki.xensource.com/xenwiki/XAPI_on_debian 1. Install squeeze 32-bits (it''s not specified on the wiki, but I guess it wont work with 64-bit as the xapi *.deb files are for 32). note: you must leave an unused 1mb partition somewhere when creating your
2002 Nov 22
0
RE:swat in samba-2.2.7
...ailable As I look for the command prompt to know smbclient has finished giving me the reply, this messes things up. I control smbclient via popen4() in python2.1. I've found this strange placement in the prompt to be the reason my code isn't working, via running smbclient like this: c = popen2.Popen4("smbclient //machine/c -N | tee /tmp/smb_out.txt) And watching smb_out.txt (Popen3() acts the same way). Is this likely to be an issue with how python talks to the process ? I have not included a test case in this mail because it would make it longer than it already is, but can provid...