Menu

#18 support multipart post processing commands

open
nobody
None
5
2007-07-13
2007-07-13
Anonymous
No

support multipart post processing commands
e.g. php post.php -x "?0"

Change line 1305 in Common.java from

Process subprocess = Runtime.getRuntime().exec(arguments);

to

Process subprocess = Runtime.getRuntime().exec(commandline);

Discussion

  • Nobody/Anonymous

    Logged In: NO

    In the original version the command line is not completely splitted.
    The post command 'php post.php -x "?0"' gives instead four only two arguments: 'php post.php -x' and '"path to file"'.
    That gives an Exception 'Cannot run program "php post.php -x": CreateProcess error=2, Das System kann die angegebene Datei nicht finden'. Thats ok because there is no program 'php post.php -x'. But i would run php with post.php, -x and the file as parameters.
    The runtime does it right. Let it do.

     
  • Nobody/Anonymous

    Logged In: NO

    we'll try

     
  • Daniel Ecer

    Daniel Ecer - 2008-02-23

    Logged In: YES
    user_id=1273096
    Originator: NO

    I have seen this issue now after I created 1900363.

    I think the problem of the original poster is that "php" "post.php" and "-x" should each become one item in arguments.

     

Log in to post a comment.