develooper Front page | perl.perl5.porters | Postings from December 2011

Is this a bug: list-exec's behaviour on Windows does not handlespaces in arguments correctly.

Thread Next
From:
Shlomi Fish
Date:
December 1, 2011 12:06
Subject:
Is this a bug: list-exec's behaviour on Windows does not handlespaces in arguments correctly.
Message ID:
20111201220243.01286f3e@lap.shlomifish.org
Hi all,

I blogged about this a few hours ago:

http://blogs.perl.org/users/shlomi_fish/2011/12/execs-portability.html

Namely doing «exec("myprog", "foo bar");» on Windows will path "foo" and "bar"
into "myprog"'s ARGV as two individual arguments. This is as opposed to the
behaviour of exec on Linux or of "perldoc -f system" on both Windows and Linux.

So I'm asking - is this a bug?

Regards,

	Shlomi Fish 

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html

Beliefs are what divide people. Doubt unites them.
    — http://en.wikiquote.org/wiki/Peter_Ustinov

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About