You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
On Fri, Sep 6, 2013 at 2:15 PM, Love U Ruby <li...@ruby-forum.com> wrote:
> I tried Kernel#`` but not working `cd` command.
>
> kirti@kirti-Aspire-5733Z:~$ irb --simple-prompt
>>> `pwd`
> => "/home/kirti\n"
>>> var = `cd 'ruby'`
> => ""
>>> var
> => ""
>>> `pwd`
> => "/home/kirti\n"
Because Kernel#` is a fork per command scenario not a session. `cd
'ruby' && pwd`
Love U Ruby
unread,
Sep 6, 2013, 3:53:27 PM9/6/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
fork per command means? Could you please clarify this ? I am using it
first time.
Scott Ribe
unread,
Sep 6, 2013, 4:04:28 PM9/6/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
It worked perfectly. It created a new process, that process changed its directory, and then exited ;-)