Your job is to open a browser window of the default browser to http://codegolf.stackexchange.com.
Your code must open the browser itself, and cannot rely on an open one.
This is code-golf, so the shortest answer in bytes wins.
Your job is to open a browser window of the default browser to http://codegolf.stackexchange.com. Your code must open the browser itself, and cannot rely on an open one. This is code-golf, so the shortest answer in bytes wins. |
|||||||||||||||||||||
|
Python, 46
Ungolfed:
Python, 46
URL from this answer Ungolfed:
|
||||
|
Common Lisp, 31 bytes
|
||||
|
R, 28 bytes
(in |
|||
|
Game Maker Studio, 26 bytes
|
||||
|
PHP (OSX), 33 bytes
PHP (Windows), 34 bytes
|
|||||
|
C# (Full Class) 90 bytes
Not sure that it's possible to write a full class (with the System.Diagnostics reference) any shorter. Inside main method only without references, 33 bytes:
|
|||
|
Perl 6 (45)Requires the
|
|||
|
C++, 61 Bytes
Just a rip off of the bash solution using system, and it only works on systems using the freedesktop tools. Also shortened by using the short link some kindly provided, otherwise it would be much longer. |
|||
|
Batch, 17 bytesI used a url shortener so it might take 24 hours to work (blame freedom)
|
|||||||||
|
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?