Results 1 to 3 of 3

Thread: subprocess call module

  1. #1
    Join Date
    Jan 2012
    Beans
    161

    subprocess call module

    here is the code:
    Code:
    subprocess.getoutput(['php','package.php',directory+'/kaltura-installer', 'false', 'CE v6.0.0 dev'])
    The subprocess call ends after the directory+'/kaltura-installer', and is ignoring anything after that. Any ideas of how to make subprocess call the entire string?

    PS. directory is defined as /home/user

  2. #2
    Join Date
    Jan 2012
    Beans
    161

    Re: subprocess call module

    its subprocess call by the way. sorry just noticed that

  3. #3
    Join Date
    Nov 2005
    Location
    Bordeaux, France
    Beans
    11,294
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: subprocess call module

    It seems that subprocess.getoutput() takes a string as argument...
    「明後日の夕方には帰ってるからね。」


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •